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.
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.