473,698 Members | 2,833 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Compiler problems

I compile my project. No errors. Then I hit my page and I get an

Error in Application "/"

[No relevant source lines]

I change nothing and recompile. Works fine. If I compile twice in a row,
still get the error. I have to compile, hit the page, compile again.
Every single time. It is driving me batty. Anyone know the solution for
this?

-Cam

Nov 15 '05 #1
3 1582
Hi,

I know very little about visual studio, and you've told us even less of your
situation (hit the page? sorry not too familiar with asp.net).

I'll have a guess anyway -> try doing rebuild all instead of compile.

Just a complete shot in the dark.

Pete

cameron wrote:
I compile my project. No errors. Then I hit my page and I get an

Error in Application "/"

[No relevant source lines]

I change nothing and recompile. Works fine. If I compile twice in a
row, still get the error. I have to compile, hit the page, compile
again. Every single time. It is driving me batty. Anyone know the
solution for this?

-Cam

Nov 15 '05 #2
Hit the page == load the page up in the web browser

I have tried doing builds and rebuilds. Same issue.

-Cam

Nov 15 '05 #3

Hi Cameron,

Does it work now?
If it still does not work, please feel free to let me know.

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

--------------------
| X-Tomcat-ID: 137089916
| References: <3F************ **@appdepot.com >
| MIME-Version: 1.0
| Content-Type: text/plain
| Content-Transfer-Encoding: 7bit
| From: v-*****@online.mi crosoft.com (Jeffrey Tan[MSFT])
| Organization: Microsoft
| Date: Fri, 29 Aug 2003 07:22:03 GMT
| Subject: RE: Compiler problems
| X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.csharp
| Message-ID: <IN************ **@cpmsftngxa06 .phx.gbl>
| Newsgroups: microsoft.publi c.dotnet.langua ges.csharp
| Lines: 124
| Path: cpmsftngxa06.ph x.gbl
| Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.langua ges.csharp:1805 39
| NNTP-Posting-Host: TOMCATIMPORT1 10.201.218.122
|
|
| Hi Cameron,
|
| These access denied errors were cause because the aspnet_wp.exe was not
| running
| under the correct context.
|
| Here are the steps to fix this:
|
|
|
| Steps to develop using a remote file share located on a different computer
|
| 1) On the remote computer
|
| a) Create a share on the remote computer
|
| b) Make sure that the .NET Framework has been installed on the remote
| computer
|
| c) Give the ASP.NET developer full NTFS control to this directory
|
| 2) On the development box
|
| a) Make sure that IIS is installed
|
| b) Open Internet Information Services Manager
|
| i) Click Start
|
| ii) Select Run
|
| iii) Type inetmgr
|
| iv) Press Enter
|
| c) Point the Default Web Site to use the remote file share
|
| i) Right Click the Default Web Site
|
| ii) Select Properties
|
| iii) Select the Home Directory Tab
|
| iv) Under "When connecting to this resource, the content should
| come
| from? " Select a share located on another computer?
| v) Type the path to the remote share (i.e.
| <\\somecomputer name\somesharen ame>)
|
| vi) If prompted, supply the connect as information
|
| (1) For the username you should use DomainName\User Name
|
| (2) For the password, you should use this users domain
| password
|
| vii) If you did not get prompted, select the Connect As button
and
| provide the required information.
|
| d) Make sure that Visual Studio .NET and the .NET Framework are
installed.
|
| e) Add the ASP.NET developer to both the VS Developers and Debugger
Users
| groups
|
| f) Open the machine.config file from the C:\<window
| directory>\Micr osoft.NET\Frame work\v1.0.3705\ CONFIG
|
| i) Find the <processModel > element; make sure that this is not
the
| commented out section
|
| ii) Set the username="Domai nName\UserName"
|
| iii) Set the password="Domai nNamePassword"
|
| g) Reset IIS
|
| i) Click Start
|
| ii) Select Run
|
| iii) Type iisreset
|
| iv) Press Enter
|
| h) If you have made changes to the .NET Framework code security or if
you
| are unsure, run the following
|
| i) Click Start
|
| ii) Select Run
|
| iii) Type caspol -machine -recover
|
| iv) Press Enter
|
| i) Open the Microsoft .NET Framework Configuration tool
|
| i) Click Start
|
| ii) Go to Settings
|
| iii) Select Control Panel
|
| iv) Double click Administrative Tools
|
| v) Double click on the Microsoft .NET Framework Configuration
icon
|
| j) Create a new code group
|
| i) Expand Runtime Security Policy
|
| ii) Expand Machine
|
| iii) Expand All_Code
|
| iv) Right Click LocalIntranet_Z one
|
| v) Select New
|
| vi) In the Create Code Group window
|
| (1) Give the code group a name, click Next
|
| (2) From Choose the condition type? select URL
|
| (3) For the URL, type <file://machinename/sharename/*>;
| Click Next
|
| (4) Select Use existing permission set and select
| FullTrust; Click Next
|
| (5) Click Finish
|
| k) Reset IIS
|
| i) Click Start
|
| ii) Select Run
|
| iii) Type iisreset
|
| iv) Press Enter
|
|
|
| You should now be able to create and debug applications on your local
| machine
|
| Hope this helps.
|
| Best regards,
| Jeffrey Tan
| Microsoft Online Partner Support
| Get Secure! - www.microsoft.com/security
| This posting is provided "as is" with no warranties and confers no rights.
|
| --------------------
| | Message-ID: <3F************ **@appdepot.com >
| | Date: Thu, 28 Aug 2003 14:39:05 -0600
| | From: cameron <ca************ ****@appdepot.c om>
| | User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.0)
| Gecko/20020530
| | X-Accept-Language: en-us, en
| | MIME-Version: 1.0
| | Subject: Compiler problems
| | Content-Type: text/plain; charset=us-ascii; format=flowed
| | Content-Transfer-Encoding: 7bit
| | Newsgroups:
|
microsoft.publi c.dotnet.langua ges.csharp,micr osoft.public.do tnet.framework. a
| spnet
| | NNTP-Posting-Host: hsdbrg64-201-211-159.sasknet.sk. ca 64.201.211.159
| | Lines: 1
| | Path: cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!TK2 MSFTNGP09.phx.g bl
| | Xref: cpmsftngxa06.ph x.gbl
| microsoft.publi c.dotnet.framew ork.aspnet:1724 42
| microsoft.publi c.dotnet.langua ges.csharp:1803 91
| | X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.csharp
| |
| | I compile my project. No errors. Then I hit my page and I get an
| |
| | Error in Application "/"
| |
| | [No relevant source lines]
| |
| | I change nothing and recompile. Works fine. If I compile twice in a
row,
| | still get the error. I have to compile, hit the page, compile again.
| | Every single time. It is driving me batty. Anyone know the solution for
| | this?
| |
| | -Cam
| |
| |
|
|

Nov 15 '05 #4

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

Similar topics

6
8622
by: paul calvert | last post by:
I hope somewhere here has encountered and solved a similar problem in the past. 1) on a new Win2000 PC: installed Visual C++ 6.0 download & install single file Service Pack 5.0 2) try to build my gui and dll projects, whose project, workspace, source files all resided on network drive mapped to H. The H mapping,
8
1893
by: jon morgan | last post by:
OK, I'm going to be brave. There is a bug in VS.Net 1.1 that causes random compiler errors. I have raised this issue in posts at least three time in the past couple of months without attracting much interest. But it's driving me nuts. Here's what happens. I'm working on a multi project VB app. happily writing nice inoffensive code - go to compile and the compiler tells me there's a problem in a project I'm not working on. But really...
10
2271
by: forgotten field | last post by:
Hi,how are you? I have been studying C++ by myself, but recently I am having a real problem. I am learning about the basic usage of a doubly linked list using polymorphism. However, I have got the compiler errors which I just can't understand what they mean. I searched the webs for any clues on how to solve the problems. But I've never been able to find one. Now I am wondering if there is any website which tells people how to understand...
14
4330
by: Mark Dufour | last post by:
After nine months of hard work, I am proud to introduce my baby to the world: an experimental Python-to-C++ compiler. It can convert many Python programs into optimized C++ code, without any user intervention such as adding type declarations. It uses rather advanced static type inference techniques to deduce type information by itself. In addition, it determines whether deduced types may be parameterized, and if so, it generates...
48
4932
by: meyer | last post by:
Hi everyone, which compiler will Python 2.5 on Windows (Intel) be built with? I notice that Python 2.4 apparently has been built with the VS2003 toolkit compiler, and I read a post from Scott David Daniels where he said that probably the VS2003 toolkit will be used for Python 2.5 again. However, even before the release of Python 2.5, I cannot seem to find many retailers around here that still carry Visual Studio 2003, and some were a...
5
2387
by: wkaras | last post by:
I've compiled this code: const int x0 = 10; const int x1 = 20; const int x2 = 30; int x = { x2, x0, x1 }; struct Y {
19
3804
by: llothar | last post by:
I must say i didn't expect this. I just did some measures on FreeBSD 6.2 with gcc 3.4.6 and there is absolutely no significant difference between 32 and 64 bit mode - neither in compilation speed, nor in speed of the compiled result. As a benchmark i took a bootstrap of the SmallEiffel Compiler (which has 38 files with around 100 kloc). The times i got were very reliable. The bootstraping (compile the c files from last eiffel compiler...
3
3443
by: Rene | last post by:
Hello to all! For a long time I have been "fighting" a problem compiling an OpenGL program which uses GLUT. First I have put a question in a Watcom group (I want to use this compiler) to which I got no reply, in an OpenGL group somebody recommended me to use Visual C++ which I did. That worked OK but I do would like to use Watcom. In the meantime I found solutions to several of the errors I got but one is left which I cannot find a...
41
18191
by: Miroslaw Makowiecki | last post by:
Where can I download Comeau compiler as a trial version? Thanks in advice.
6
2269
by: David Mathog | last post by:
Do any of you happen to have links to compendiums (or heaven forbid, an actual manual) which maps compiler warnings and errors to examples of actual code problems? In this case I'm specifically looking for one for gcc. The general problem is of course that the compiler messages must be short, and that tends to make them so cryptic that it isn't always immediately obvious what the problem is. It almost makes me long for the days when the...
0
8611
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
9031
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
8904
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
8876
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...
0
7741
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5867
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
4624
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3052
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
2341
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.