asp.net web page

A

abcd

I have asp.net web page written in C# it works great on Windows XP. Now I am
testing that on Windows 2K. For that I have set a virtual machine and it has
W2K with SP4 and .net runtime ...

The asp.net form is not rendered...none of the controls are
displayed....what could be missing....

thanks
 
M

MattB

abcd said:
I have asp.net web page written in C# it works great on Windows XP. Now I am
testing that on Windows 2K. For that I have set a virtual machine and it has
W2K with SP4 and .net runtime ...

The asp.net form is not rendered...none of the controls are
displayed....what could be missing....

thanks

You probably need to run "regiis.exe /i" from your
\Windows\.Netframework\<version> to install the ISAPI filters required
for .Net in IIS.
It seems if IIS is installed after the framework, this needs to be done.
I've been stumped by this before too.

Matt
 
J

John Timney \( MVP \)

Have you enabled it as an application server in the manage your server
console

--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director
 
A

abcd

Thanks MattB

At least now my error is changed, I am getting following error:- any
clues....I am using Access file which has permissions of ASPNET user then
why its not working....

Server Error in '/dsadmin' Application.
--------------------------------------------------------------------------------

ERROR [HY000] [Microsoft][ODBC Microsoft Access Driver] Disk or network
error. ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's
SQLSetConnectAttr failed ERROR [HY000] [Microsoft][ODBC Microsoft Access
Driver] Disk or network error.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.

Exception Details: System.Data.Odbc.OdbcException: ERROR [HY000]
[Microsoft][ODBC Microsoft Access Driver] Disk or network error. ERROR
[IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed
ERROR [HY000] [Microsoft][ODBC Microsoft Access Driver] Disk or network
error.

Source Error:

An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can
be identified using the exception stack trace below.

Stack Trace:


[OdbcException: ERROR [HY000] [Microsoft][ODBC Microsoft Access Driver] Disk
or network error.
ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr
failed
ERROR [HY000] [Microsoft][ODBC Microsoft Access Driver] Disk or network
error.]
System.Data.Odbc.OdbcConnection.Open() +638
dsadmin.WebForm1.GetNestedControls()
dsadmin.WebForm1.Page_Load(Object sender, EventArgs e)
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +750
 
M

MattB

Could it be that your access db file(s) are not present or the aspnet
user doesn't have access? That's where I'd start. Good luck...

Matt
Thanks MattB

At least now my error is changed, I am getting following error:- any
clues....I am using Access file which has permissions of ASPNET user then
why its not working....

Server Error in '/dsadmin' Application.
--------------------------------------------------------------------------------

ERROR [HY000] [Microsoft][ODBC Microsoft Access Driver] Disk or network
error. ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's
SQLSetConnectAttr failed ERROR [HY000] [Microsoft][ODBC Microsoft Access
Driver] Disk or network error.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.

Exception Details: System.Data.Odbc.OdbcException: ERROR [HY000]
[Microsoft][ODBC Microsoft Access Driver] Disk or network error. ERROR
[IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed
ERROR [HY000] [Microsoft][ODBC Microsoft Access Driver] Disk or network
error.

Source Error:

An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can
be identified using the exception stack trace below.

Stack Trace:


[OdbcException: ERROR [HY000] [Microsoft][ODBC Microsoft Access Driver] Disk
or network error.
ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr
failed
ERROR [HY000] [Microsoft][ODBC Microsoft Access Driver] Disk or network
error.]
System.Data.Odbc.OdbcConnection.Open() +638
dsadmin.WebForm1.GetNestedControls()
dsadmin.WebForm1.Page_Load(Object sender, EventArgs e)
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +750




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET
Version:1.1.4322.2032

You probably need to run "regiis.exe /i" from your
\Windows\.Netframework\<version> to install the ISAPI filters required
for .Net in IIS.
It seems if IIS is installed after the framework, this needs to be
done. I've been stumped by this before too.

Matt
 
A

abcd

Then access DB is present, it has all the data, the DSN is set for it....the
file has physically permissions for ASPNET user....
Could it be that your access db file(s) are not present or the aspnet
user doesn't have access? That's where I'd start. Good luck...

Matt
Thanks MattB

At least now my error is changed, I am getting following error:- any
clues....I am using Access file which has permissions of ASPNET user
then why its not working....

Server Error in '/dsadmin' Application.
--------------------------------------------------------------------------------

ERROR [HY000] [Microsoft][ODBC Microsoft Access Driver] Disk or
network error. ERROR [IM006] [Microsoft][ODBC Driver Manager]
Driver's SQLSetConnectAttr failed ERROR [HY000] [Microsoft][ODBC
Microsoft Access Driver] Disk or network error.
Description: An unhandled exception occurred during the execution of
the current web request. Please review the stack trace for more
information about the error and where it originated in the code.

Exception Details: System.Data.Odbc.OdbcException: ERROR [HY000]
[Microsoft][ODBC Microsoft Access Driver] Disk or network error.
ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's
SQLSetConnectAttr failed ERROR [HY000] [Microsoft][ODBC Microsoft
Access Driver] Disk or network error.

Source Error:

An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location
of the exception can be identified using the exception stack trace
below. Stack Trace:


[OdbcException: ERROR [HY000] [Microsoft][ODBC Microsoft Access
Driver] Disk or network error.
ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's
SQLSetConnectAttr failed
ERROR [HY000] [Microsoft][ODBC Microsoft Access Driver] Disk or
network error.]
System.Data.Odbc.OdbcConnection.Open() +638
dsadmin.WebForm1.GetNestedControls()
dsadmin.WebForm1.Page_Load(Object sender, EventArgs e)
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +750




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032;
ASP.NET Version:1.1.4322.2032

abcd wrote:

I have asp.net web page written in C# it works great on Windows XP.
Now I am testing that on Windows 2K. For that I have set a virtual
machine and it has W2K with SP4 and .net runtime ...

The asp.net form is not rendered...none of the controls are
displayed....what could be missing....

thanks



You probably need to run "regiis.exe /i" from your
\Windows\.Netframework\<version> to install the ISAPI filters
required for .Net in IIS.
It seems if IIS is installed after the framework, this needs to be
done. I've been stumped by this before too.

Matt
 
A

abcd

I have figured this out.
My asp.net web application's web.config is configured to have identity
impresonate=true and I had configured annonymous authentication as IUSR_
when u set identity impersonate = tru u need to run ur web application as
different than IUSR_MachineNAme

I hope this is the answer...
Then access DB is present, it has all the data, the DSN is set for
it....the file has physically permissions for ASPNET user....
Could it be that your access db file(s) are not present or the aspnet
user doesn't have access? That's where I'd start. Good luck...

Matt
Thanks MattB

At least now my error is changed, I am getting following error:- any
clues....I am using Access file which has permissions of ASPNET user
then why its not working....

Server Error in '/dsadmin' Application.
--------------------------------------------------------------------------------

ERROR [HY000] [Microsoft][ODBC Microsoft Access Driver] Disk or
network error. ERROR [IM006] [Microsoft][ODBC Driver Manager]
Driver's SQLSetConnectAttr failed ERROR [HY000] [Microsoft][ODBC
Microsoft Access Driver] Disk or network error.
Description: An unhandled exception occurred during the execution of
the current web request. Please review the stack trace for more
information about the error and where it originated in the code.

Exception Details: System.Data.Odbc.OdbcException: ERROR [HY000]
[Microsoft][ODBC Microsoft Access Driver] Disk or network error.
ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's
SQLSetConnectAttr failed ERROR [HY000] [Microsoft][ODBC Microsoft
Access Driver] Disk or network error.

Source Error:

An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location
of the exception can be identified using the exception stack trace
below. Stack Trace:


[OdbcException: ERROR [HY000] [Microsoft][ODBC Microsoft Access
Driver] Disk or network error.
ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's
SQLSetConnectAttr failed
ERROR [HY000] [Microsoft][ODBC Microsoft Access Driver] Disk or
network error.]
System.Data.Odbc.OdbcConnection.Open() +638
dsadmin.WebForm1.GetNestedControls()
dsadmin.WebForm1.Page_Load(Object sender, EventArgs e)
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +750




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032;
ASP.NET Version:1.1.4322.2032


MattB wrote:

abcd wrote:

I have asp.net web page written in C# it works great on Windows
XP. Now I am testing that on Windows 2K. For that I have set a
virtual machine and it has W2K with SP4 and .net runtime ...

The asp.net form is not rendered...none of the controls are
displayed....what could be missing....

thanks



You probably need to run "regiis.exe /i" from your
\Windows\.Netframework\<version> to install the ISAPI filters
required for .Net in IIS.
It seems if IIS is installed after the framework, this needs to be
done. I've been stumped by this before too.

Matt
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top