473,804 Members | 3,018 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Troubles with VS.NET 2003

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

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.Glob al'.

Source Error:
Line 1: <%@ Application Codebehind="Glo bal.asax.cs"
Inherits="cptwe b.Global" %>
Line 2: <script language="C#" runat="server">
Line 3: void Application_Beg inRequest(objec t source, EventArgs e) {
Source File: C:\myproject\gl obal.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.

Nov 17 '05 #1
2 1247

"Oleg Konovalov" <ol*****@yahoo. com> wrote in message
news:BW4Ze.1963 $WT3.1941@trndd c03...
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.P age

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.Glob al'.

Source Error:
Line 1: <%@ Application Codebehind="Glo bal.asax.cs"
Inherits="cptwe b.Global" %>
Line 2: <script language="C#" runat="server">
Line 3: void Application_Beg inRequest(objec t source, EventArgs e) {
Source File: C:\myproject\gl obal.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...b;en-us;306005
--
Peter [MVP Visual Developer]
Jack of all trades, master of none.
Nov 17 '05 #2
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.e xe".
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" <p_**********@t oadstool.u> wrote in message
news:ec******** ******@TK2MSFTN GP10.phx.gbl...

"Oleg Konovalov" <ol*****@yahoo. com> wrote in message
news:BW4Ze.1963 $WT3.1941@trndd c03...
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.P age

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.Glob al'.

Source Error:
Line 1: <%@ Application Codebehind="Glo bal.asax.cs"
Inherits="cptwe b.Global" %>
Line 2: <script language="C#" runat="server">
Line 3: void Application_Beg inRequest(objec t source, EventArgs e) {
Source File: C:\myproject\gl obal.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...b;en-us;306005
--
Peter [MVP Visual Developer]
Jack of all trades, master of none.

Nov 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1974
by: lmckaha | last post by:
Hi, Mysql version: 3.23.49 Solaris version: 2.7 gcc compiler version: 2.95.2 Python : 2.2.2 I'm evaluating the C and C++ API to decide which one to bye but I have many troubles.
3
1448
by: Mr. B | last post by:
GRRRR... I've run across a situation in which I have NO solution. Hopefully there is one. VB.net. It's rather simple. I've a ComboBox that get's populated via a Database. And I pre-select (during Formload) the Index using SelectedIndex: ' Get User info from Data Base fill daPickUser.Fill(dsPickUser.MASTER_PRM_EMPLOYEE)
0
1238
by: Alby | last post by:
Hi, I tried to install Visual Studio 2003 on my laptop: I have W2k Professional SP4. During installation I get the following error: Visual Studio .NET Enterprise Architect 2003 - English: ERROR: Could not configure security settings for Application Center Test. (0x80041003) Visual Studio .NET Enterprise Architect 2003 - English: ACTION FAILURE: Action ended 9.51.31: InstallFinalize. Return value 3.
4
2118
by: Edwin G. Castro | last post by:
I want to start a process from a C# application. I also want to redirect standard error to standard output so that I can read output from both streams just like I could from a command line. In other words, I want to emulate the following: command arg1 arg2 > file.txt 2>&1 I know I can get StreamReaders for standard error and standard output separately, but I want them interleaved like in the sample command line above. I want to be able...
0
1359
by: Stefan Slapeta | last post by:
Hi all, I've experienced some troubles with message tables and wanted to know if anybody knows a solution for one of them: - If I translate my .mc file into a Unicode .bin file, some of the chars are afterwards returned incorretly by FormatMessage (which is not the case if the .bin output is ANSI! - very strange). I've experienced this with some german chars like ä,ö,ü.
4
1253
by: Tom Andrecht | last post by:
I'm trying to write two managed C++ .DLL files for use in a project, and am running into some trouble that I'm not sure if it's something I'm doing wrong (this is my first time trying this) or if it's something VS .NET 2k3 is doing to me. My problems are this: 1. The projects will not find standard functions like strcpy and new. doesn't seem to even know what they are despite my having added the header files for everything plus. 2. ...
0
1489
by: Michal | last post by:
I have troubles with instaling .Net Framework 2.0 (Beta 2 - 2.0.50215). The main instalation went just fine, troubles begin with my attemt to run aspnet_regiss.exe -i. Asp.Net is instaled into IIS as it should be, sites are working just fine. The only problem is thet this instalation did not create the AspNet_WebAdmin folder in /inetpub/wwwroot, thus the WebAdmin is not instaled in IIS and I cannot administer my sites. I read in official...
8
2089
by: bhochstetler | last post by:
I am needing to build python 2.5 on Windows XP x64 Windows Server 2003 sp1 Platform SDK and am not finding anything documented on the process to use. Has anyone had any success with this? If so has anyone documented it? The documentation that resides in pcbuild/readme.txt is not helpful at all. Any help is greatly appreciated. Thanks Brad
7
5500
by: epikto | last post by:
I have a mapped share that I am trying to get a listing of all the files that it contains. I use the following code to access the contents String files = Directory.GetFiles(path); I can then enumerate through that array to get my listing. However I am trying to set my application up as a service. And now (after calling methods in a thread using the OnStart() method) it says the directory does not exist (I verified this with a...
0
1464
by: JohnIdol | last post by:
VC++6 to VC++2003 - linking troubles -------------------------------------------------------------------------------- Hi All, I successfully ported an application from VC++6 to VS2003. Solved compiling issues but now I am sticking with serious Linking troubles. I got a bunch of:
0
9572
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10319
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10303
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10070
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7608
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6845
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5508
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4282
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3803
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.