473,513 Members | 2,263 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASP.NET Publish Compiled code Problem

radcaesar
759 Recognized Expert Contributor
I was developing a web application using the Framework version 2.0 and VS 2005. My Application runs just fine with the development server. Yesterday I had deployed the compiled code and I got the
"Object reference not set to instance of an object" error in the below method
ODPHelper.ExecuteScalar()

Yes, I was using ODP helper to connect with Oracle. I had checked the ODPHelper.dll was available in the bin folder.

I am using impersonation with the user rights of local admin in web.config file.

When I try to deploy all the files (All the files in my solution) in the IIS and Its running fine. When I try to deploy only the aspx and DLLs inside the bin folder, it shows the above exception.

Where am i missing something?
Dec 5 '08 #1
3 1323
OuTCasT
374 Contributor
Did you deploy all files needed to run application ?
Dec 5 '08 #2
radcaesar
759 Recognized Expert Contributor
I got it solved. I had given ADMIN rights to IUSER and set the Impersonate to True.

Then uncheck the ANONYMOUS Authentication in IIS.
Dec 5 '08 #3
kenobewan
4,871 Recognized Expert Specialist
Gee that is alot of rights to give a user?
Dec 5 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

6
1596
by: Keith | last post by:
Is there a way to publish only one file in VS.NET 2003 using FPSE method? In FP client I can select one file at a time to publish. My web is large and it takes too long to publish the whole...
8
3150
by: Graham | last post by:
I noticed a similar post awhile ago and in terms of my problem it wasnt a suitable answer so I will ask again. I have VS2005 running a on development machine in my office where I do all my...
5
2569
by: NoNickname | last post by:
Basically, how do I know that the release versions of all components are being published? The Build | Configuration Manager is confusing me a little in VS2005. I have three projects in my...
6
3822
by: ewolfman | last post by:
Hi, I've read many posts in several news groups, but can't figure out how to publish my website. The specific error I'm getting (on the "successfully published website") is "Could not load the...
0
845
by: Alejandro Pombo | last post by:
Hello, Somebody knows how to generate dlls of the Web projects without having to publish, another question that I have is why divides webproject in 3 or more dlls and compiled files(App_Code.,...
2
1503
by: Douglas J. Badin | last post by:
I am using VS 2005 to Publish my ASP.NET 2.0 Website with the following: - Not allowing this precompiled site to be updatable - Use fixed naming and single page assemblies - Not Enable strong...
10
2499
by: WT | last post by:
Hello, I have been publishing my web site many times to the remote where resides my final web site. Everything was ok, but to-day, without any configuration change, vs doesn't copy final files...
1
2975
by: kurt sune | last post by:
I am having trouble publishing a website for RELEASE. 1. web.config: <compilation defaultLanguage="vb" debug="false"> 2. in Configuration manager I set the configuration to Release for the...
2
1651
by: Pieter | last post by:
Hi, We're using ClickOnce alreaddy more than a year for a given applicaiton, doing more than 50 publishes without any problem. Yesterday we made a minor change to one of our components (let's...
5
2945
by: Cirene | last post by:
When would I use "Copy Web site" over "Publish Website" or visa versa? Why would I use the Web Deployment Project vs these options? I want to make sure no one can pull up/read/download my vb...
0
7265
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7171
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...
1
7114
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...
0
7541
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...
0
5693
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,...
1
5098
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...
0
4751
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...
0
3240
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...
0
1607
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 ...

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.