|
Rank: Member Groups: Member
Joined: 10/28/2008 Posts: 23
|
I am trying to use the datepicker control within MS Visual Studio.Net 2003 and I am getting the following error message.
This version of EO.Web.dll is built for ASP.NET 1.1. Please use the .NET 2.0 build to run on ASP.NET 2.0.
I have to use ASP.NET 1.1 with .Net 2003 so how do I fix this issue?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
Check the IIS setting to see if your application is configured to run on ASP.NET 2.0. You can right click your application in IIS Manager, then select ASP.NET on the property tab. That should allow you to choose which ASP.NET version your application runs upon.
Thanks
|
|
Rank: Member Groups: Member
Joined: 10/28/2008 Posts: 23
|
Changing the IIS to .Net 1.1 fixed that issue and I am not getting an error message that seems to point to the following line: <%@ Register TagPrefix="eo" Namespace="EO.Web" Assembly="EO.Web" %>. Do I need a license file or need to change something else?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
You don't need a license file to try out the features. If you still have problems, please post the detailed error message and stack trace, we will see what we can find.
Thanks!
|
|
Rank: Member Groups: Member
Joined: 10/28/2008 Posts: 23
|
At the Bottom left of the browser I see "Error on Page" and when I open the details it shows: Line: 1 Char: 2 Error: Invalid Character Code: 0 URL: http://localhost/iTracker/iTracker.aspx
Below I have pasted in what is on line 1 <%@ Register TagPrefix="eo" Namespace="EO.Web" Assembly="EO.Web" %>
How do I get a stack Trace?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
<%@ Register TagPrefix="eo" Namespace="EO.Web" Assembly="EO.Web" %>
Is server side code, browser does not understand server side code. Before it is sent to the client side, ASP.NET would translate that into DHTML, which is something browser does understand. So whatever browser report, it would be Line 1 Char 2 of the result DHTML code, which should be something else.
The easiest way for you to locate the problem is to go to Tools -> Internet Options -> Advanced, then uncheck "Disable Script Debugging" and "Disable Script Debugging (Other)". Load the page again and you should have the option to start script debugger when the error occurs. You will then be able to see what causes the problem.
Another way to view the error is to load the page with FireFox. Then open FireFox's JavaScript Console. If the problem does occur, it should show up there.
Thanks
|
|
Rank: Member Groups: Member
Joined: 10/28/2008 Posts: 23
|
Thanks for all of your help.
This is not making any sense to me as if I remove the datepicker I get no errors (this application has be running for several years). When I put the datepicker control on the form it throws an error right after the Height= statement below.
<asp:button id="btnMemoPad" style="Z-INDEX: 116; LEFT: 920px; POSITION: absolute; TOP: 784px" tabIndex="16" runat="server" Height="28px" Width="281px" Text="Update Memo Pad & Save"></asp:button>
Does this make sense ... why without the contol there are no errors?
Thanks
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi Ron, That is exactly what we are trying to tell you ----- you are looking at the wrong code. Specifically, you are looking at the server side code in order to locate a client side error. That is wrong, when you have a client side error, you need to locate the corresponding client side code, not the server side code. Usually the debugger automatically find the correct code for you, but sometimes Visual Studio messes up and pull up the wrong code for you, in that case you need to match them by yourself. Why would a "Height=" statement causes an error? It does not. When you see an error occurs after "Height=", it does not mean "Height" caused an error, it means you are looking at the wrong place. If you have problem matching the code manually, see if this post helps you: http://www.essentialobjects.com/Forum/Default.aspx?g=posts&t=1401The above post describes a very common scenario related to logins that can cause DatePicker top stop functioning. If the problem persists, we can setup an online meeting to take a look on your machine if you don't mind. Thanks
|
|
Rank: Member Groups: Member
Joined: 10/28/2008 Posts: 23
|
ok I think I am tracking better now
The error is coming before the <table> and thus right after the eo_web.ashx tags.
<script type="text/javascript" src="/iTracker/eo_web.ashx?id=4fa3599f-5dc4-4636-9054-a8e59e98e790"></script> <script type="text/javascript" src="/iTracker/eo_web.ashx?id=95b7979b-75ca-4346-99e7-d2b509f531ea"></script> <script type="text/javascript" src="/iTracker/eo_web.ashx?id=be332b80-32cc-46a4-bddf-12804b8107d0"></script> <script type="text/javascript" src="/iTracker/eo_web.ashx?id=18099c7a-563b-4bd6-a257-3b7fdfc476c3"></script> <script type="text/javascript" src="/iTracker/eo_web.ashx?id=32ba1c33-f84e-421e-bbdc-010e8c15aa11"></script> <script type="text/javascript" src="/iTracker/eo_web.ashx?id=bd9fec3f-1e9b-43f5-938c-6a454a7e742c"></script> <script type="text/javascript" src="/iTracker/eo_web.ashx?id=26f2b459-8397-42f9-ad69-973b5dd95b07"></script> <table border="0" cellpadding="0" cellspacing="0" id="DatePicker1" style="Z-INDEX: 245; LEFT: 488px; POSITION: absolute; TOP: 880px"> <tr><td><input style="font-family:Courier New" type="text" id="_eo_DatePicker1_picker" name="_eo_DatePicker1_picker" value=" / / " size="11"/></td><td><img id="_eo_DatePicker1_popupimg" onload="eo_ObjLoaded('_eo_DatePicker1_popupimg');" alt=" " title="" src="/iTracker/eo_web.ashx?id=f41bf6b7-0a28-45d6-8c6b-9f904085d669" /></td></tr> </table>
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Did you change the permission settings for eo_web.ashx in your web.config?
|
|
Rank: Member Groups: Member
Joined: 10/28/2008 Posts: 23
|
below is my web.config page and I put the permission at the bottom which may be the wrong place as it did not correct my issue.
<?xml version="1.0" encoding="utf-8"?> <configuration>
<appSettings> <add key="SqlConnectionString_local" value = "Integrated Security=True;Initial Catalog=Northwind;Server=."/> <add key="SqlConnectionString" value = "User ID=itracker;pwd=parity;Initial Catalog=CallTracker;Server=."/> <add key="SqlConnectionString_IDB" value = "User ID=idb;pwd=sql;Initial Catalog=IDB;Server=."/> <add key="iTracker.MemoPadService.Service1" value="http://mli10.investmet.com:1251/MPUpdate/MemoPadUpdate.asmx"/> <add key="WebServiceUserName" value="win"/> <add key="WebServicePassword" value="bJfT178+9j8="/> </appSettings>
<system.web>
<!-- DYNAMIC DEBUG COMPILATION Set compilation debug="true" to insert debugging symbols (.pdb information) into the compiled page. Because this creates a larger file that executes more slowly, you should set this value to true only when debugging and to false at all other times. For more information, refer to the documentation about debugging ASP.NET files. --> <compilation defaultLanguage="vb" debug="true"/>
<!-- CUSTOM ERROR MESSAGES Set customErrors mode="On" or "RemoteOnly" to enable custom error messages, "Off" to disable. Add <error> tags for each of the errors you want to handle.
"On" Always display custom (friendly) messages. "Off" Always display detailed ASP.NET error information. "RemoteOnly" Display custom (friendly) messages only to users not running on the local Web server. This setting is recommended for security purposes, so that you do not display application detail information to remote clients. --> <customErrors mode="Off"/>
<!-- AUTHENTICATION This section sets the authentication policies of the application. Possible modes are "Windows", "Forms", "Passport" and "None"
"None" No authentication is performed. "Windows" IIS performs authentication (Basic, Digest, or Integrated Windows) according to its settings for the application. Anonymous access must be disabled in IIS. "Forms" You provide a custom form (Web page) for users to enter their credentials, and then you authenticate them in your application. A user credential token is stored in a cookie. "Passport" Authentication is performed via a centralized authentication service provided by Microsoft that offers a single logon and core profile services for member sites. --> <authentication mode="Windows"/>
<!-- AUTHORIZATION This section sets the authorization policies of the application. You can allow or deny access to application resources by user or role. Wildcards: "*" mean everyone, "?" means anonymous (unauthenticated) users. --> <authorization> <allow users="*"/> <!-- Allow all users -->
<!-- <allow users="[comma separated list of users]" roles="[comma separated list of roles]"/> <deny users="[comma separated list of users]" roles="[comma separated list of roles]"/> --> </authorization>
<!-- APPLICATION-LEVEL TRACE LOGGING Application-level tracing enables trace log output for every page within an application. Set trace enabled="true" to enable application trace logging. If pageOutput="true", the trace information will be displayed at the bottom of each page. Otherwise, you can view the application trace log by browsing the "trace.axd" page from your web application root. --> <trace enabled="false" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true"/>
<!-- SESSION STATE SETTINGS By default ASP.NET uses cookies to identify which requests belong to a particular session. If cookies are not available, a session can be tracked by adding a session identifier to the URL. To disable cookies, set sessionState cookieless="true". --> <sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes" cookieless="false" timeout="60"/>
<!-- GLOBALIZATION This section sets the globalization settings of the application. --> <globalization requestEncoding="utf-8" responseEncoding="utf-8"/> </system.web> <location path="eo_web.ashx"> <system.web> <authorization> <allow users="?" /> </authorization> </system.web> </location>
</configuration>
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
We need to take a look then. We have setup an online meeting which would allow you to share your desktop with us. Please see your private message for the meeting link.
Thanks!
|
|