Troubles with VS.NET 2003

O

Oleg Konovalov

Hi,

I have a C# ASP.NET project in VS.NET and it used to build, debug and run
fine.
I had to disable IIS5.1 to run Java based code on JBoss for a month.

Now I re-inabled IIS and tried to run my C# project in debugger:
1) I can't build the project, getting a few compilation errors like:
- No overload for method 'Open' [or SaveAs] takes '13' arguments;
- Property, indexer, or event 'value' is not supported by the language....
Errors are coming from the class
public class Exporter: System.Web.UI.Page

It wasn't touched for almost a year and used to compile fine.
Something in configuration or libraried got lost or corrupted ?

2) If I run my project's start page in IE6 using localhost,
I started getting:

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

Parser Error
Description: An error occurred during the parsing of a resource required to
service this request. Please review the following specific parse error
details and modify your source file appropriately.

Parser Error Message: Could not load type 'myproject.Global'.

Source Error:


Line 1: <%@ Application Codebehind="Global.asax.cs"
Inherits="cptweb.Global" %>
Line 2: <script language="C#" runat="server">
Line 3: void Application_BeginRequest(object source, EventArgs e) {


Source File: C:\myproject\global.asax Line: 1

Any ideas what got screwed up ?


3) I tried to reinstall/configure FrontPage server extensions,
aspnet_regiis... no use.
When I try to either re-install/repair/install additional features for
VS.NET, [either Step 1 or 2 of orig installation],
getting popup with command line parameters, then it exits.
One fellow showed me some long command a few moths ago for such cases,
but I totally forgot it. Any idea ?

I am totally stuck.

Please help !

I am pretty new to VS.NET, have to fix bugs in other people project....


Thank you in advance,
Oleg.
 
P

Peter van der Goes

Oleg Konovalov said:
Hi,

I have a C# ASP.NET project in VS.NET and it used to build, debug and run
fine.
I had to disable IIS5.1 to run Java based code on JBoss for a month.

Now I re-inabled IIS and tried to run my C# project in debugger:
1) I can't build the project, getting a few compilation errors like:
- No overload for method 'Open' [or SaveAs] takes '13' arguments;
- Property, indexer, or event 'value' is not supported by the language....
Errors are coming from the class
public class Exporter: System.Web.UI.Page

It wasn't touched for almost a year and used to compile fine.
Something in configuration or libraried got lost or corrupted ?

2) If I run my project's start page in IE6 using localhost,
I started getting:

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

Parser Error
Description: An error occurred during the parsing of a resource required
to service this request. Please review the following specific parse error
details and modify your source file appropriately.

Parser Error Message: Could not load type 'myproject.Global'.

Source Error:


Line 1: <%@ Application Codebehind="Global.asax.cs"
Inherits="cptweb.Global" %>
Line 2: <script language="C#" runat="server">
Line 3: void Application_BeginRequest(object source, EventArgs e) {


Source File: C:\myproject\global.asax Line: 1

Any ideas what got screwed up ?


3) I tried to reinstall/configure FrontPage server extensions,
aspnet_regiis... no use.
When I try to either re-install/repair/install additional features for
VS.NET, [either Step 1 or 2 of orig installation],
getting popup with command line parameters, then it exits.
One fellow showed me some long command a few moths ago for such cases,
but I totally forgot it. Any idea ?

I am totally stuck.

Please help !

I am pretty new to VS.NET, have to fix bugs in other people project....


Thank you in advance,
Oleg.
Is it possible that you are referring to Knowledge Base Article #306005,
entitled "How to Repair IIS Mapping After Removing and Reinstalling IIS"?

http://support.microsoft.com/default.aspx?scid=kb;en-us;306005
 
O

Oleg Konovalov

Peter,

I never got that error:
"Visual Studio .NET has detected that the specified Web server is not
running ASP.NET version 1.1. You will be unable to run ASP.NET Web
applications or services."
However, I did try to reinstall aspnet_regiis.exe".
But as I mentioned before, I still have all 3 problems.
Actually, I was able to do an error-free build on another PC and deploy it
there.
If I re-run it, I am getting "Access denied error"

On the first computer (still can't do a build) if I run it now, I am getting
a page, try to login and after a long time getting error:
Timeout expired. The timeout period elapsed prior to obtaining a connection
from the pool. This may have occurred because all pooled connections were in
use and max pool size was reached

Maybe I should increase the number of connections in the pool. How do I do
that ?
Or let me try to reboot (so connections get killed) and try again.

Thank you,
Oleg.


Peter van der Goes said:
Oleg Konovalov said:
Hi,

I have a C# ASP.NET project in VS.NET and it used to build, debug and run
fine.
I had to disable IIS5.1 to run Java based code on JBoss for a month.

Now I re-inabled IIS and tried to run my C# project in debugger:
1) I can't build the project, getting a few compilation errors like:
- No overload for method 'Open' [or SaveAs] takes '13' arguments;
- Property, indexer, or event 'value' is not supported by the
language....
Errors are coming from the class
public class Exporter: System.Web.UI.Page

It wasn't touched for almost a year and used to compile fine.
Something in configuration or libraried got lost or corrupted ?

2) If I run my project's start page in IE6 using localhost,
I started getting:

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

Parser Error
Description: An error occurred during the parsing of a resource required
to service this request. Please review the following specific parse error
details and modify your source file appropriately.

Parser Error Message: Could not load type 'myproject.Global'.

Source Error:


Line 1: <%@ Application Codebehind="Global.asax.cs"
Inherits="cptweb.Global" %>
Line 2: <script language="C#" runat="server">
Line 3: void Application_BeginRequest(object source, EventArgs e) {


Source File: C:\myproject\global.asax Line: 1

Any ideas what got screwed up ?


3) I tried to reinstall/configure FrontPage server extensions,
aspnet_regiis... no use.
When I try to either re-install/repair/install additional features for
VS.NET, [either Step 1 or 2 of orig installation],
getting popup with command line parameters, then it exits.
One fellow showed me some long command a few moths ago for such cases,
but I totally forgot it. Any idea ?

I am totally stuck.

Please help !

I am pretty new to VS.NET, have to fix bugs in other people project....


Thank you in advance,
Oleg.
Is it possible that you are referring to Knowledge Base Article #306005,
entitled "How to Repair IIS Mapping After Removing and Reinstalling IIS"?

http://support.microsoft.com/default.aspx?scid=kb;en-us;306005
 

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

Top