R
Rich
I am very new to ASP.NET, and did not see a similar error posted
anywhere. Here is my situation.
I followed the instructions in Peter Bromberg's excellent article "Host
Winforms - based UserControl Apps in Internet Explorer" from
www.eggheadcafe.com/articles/20021205.asp. However, I have run into a
problem at the last step - testing the control in an .aspx page
I was able to create a data grid (System.Windows.Forms.DataGrid) and get
it to interact with a table in a named SQL Server instance. I tested the
grid as part of a Windows Application, because I was warned that it is
very hard to debug controls in .aspx pages It worked just fine. Both
the grid and the Application were created as C# programs in Microsoft
Visual Studio .NET. The projects' build configuration is “debug”. I
continued by adding an “object” tag to a simple .aspx page. The page
loads and the grid appears to display just fine.
Now for the main problem… I have a button that makes a connection to the
database and loads data into the grid. When I click the button, I
receive an error:
"An unhandled exception has occured in a component in your application."
It continues - "System.ArgumentException: Invalid element value
workstation id=WHITEBOXATHLON;packet size=4096;integrated
security=SSPI;data source="WHITEBOXATHLON\SS1S";persist security
info=False;initial catalog=SS1S."
I am unsure what the error is trying to tell me. (I don’t know how to
interpret it.)
Here are the environment details:
Computer name: whiteboxAthlon
Full computer name: whiteboxAthlon.ss1s.pri
Windows 2000 Professional (SP4)
IIS 5.0; services log on as administrative account “.\rfrainier”
SQL Server 2000 (SP3); use windows authentication (not mixed mode) the
database instance is “WHITEBOXATHLON\SS1S” (E:\Program Files\Microsoft
SQL Server\MSSQL$SS1S)
Here is a secondary problem - I did modify both machine.config (under
C:\WINNT\Microsoft.NET\Framework\v1.1.4322\CONFIG) and the ASP.NET
application web.config to add the line “<system.windows.forms
jitDebugging="true" />”. (Recall the projects build configuration was
“debug”.) However, no JIT debugger appears. Do I have to do something
extra?
Many thanks for any help you all can give me!
anywhere. Here is my situation.
I followed the instructions in Peter Bromberg's excellent article "Host
Winforms - based UserControl Apps in Internet Explorer" from
www.eggheadcafe.com/articles/20021205.asp. However, I have run into a
problem at the last step - testing the control in an .aspx page
I was able to create a data grid (System.Windows.Forms.DataGrid) and get
it to interact with a table in a named SQL Server instance. I tested the
grid as part of a Windows Application, because I was warned that it is
very hard to debug controls in .aspx pages It worked just fine. Both
the grid and the Application were created as C# programs in Microsoft
Visual Studio .NET. The projects' build configuration is “debug”. I
continued by adding an “object” tag to a simple .aspx page. The page
loads and the grid appears to display just fine.
Now for the main problem… I have a button that makes a connection to the
database and loads data into the grid. When I click the button, I
receive an error:
"An unhandled exception has occured in a component in your application."
It continues - "System.ArgumentException: Invalid element value
workstation id=WHITEBOXATHLON;packet size=4096;integrated
security=SSPI;data source="WHITEBOXATHLON\SS1S";persist security
info=False;initial catalog=SS1S."
I am unsure what the error is trying to tell me. (I don’t know how to
interpret it.)
Here are the environment details:
Computer name: whiteboxAthlon
Full computer name: whiteboxAthlon.ss1s.pri
Windows 2000 Professional (SP4)
IIS 5.0; services log on as administrative account “.\rfrainier”
SQL Server 2000 (SP3); use windows authentication (not mixed mode) the
database instance is “WHITEBOXATHLON\SS1S” (E:\Program Files\Microsoft
SQL Server\MSSQL$SS1S)
Here is a secondary problem - I did modify both machine.config (under
C:\WINNT\Microsoft.NET\Framework\v1.1.4322\CONFIG) and the ASP.NET
application web.config to add the line “<system.windows.forms
jitDebugging="true" />”. (Recall the projects build configuration was
“debug”.) However, no JIT debugger appears. Do I have to do something
extra?
Many thanks for any help you all can give me!