473,398 Members | 2,125 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Receiving Configuration Error, I've Never Seen Before

Hi,

I am new to this ASP.NET thing and while going very slow, I am learning.
Then I got a Configuration Error out of nowhere when I ran my project.

I do have Excel as reference (but I haven't been able to use it yet).

My project has been running just fine and I am sure I did something strange
to make this occur, but I have no idea what I did. So now, all the work I've
put into this, is gone. Well, I hope not.

Any idea what could have happened and how I can fix it?

Thanks so much.

Here's the error:
Configuration Error
Description: An error occurred during the processing of a configuration file
required to service this request. Please review the specific error details
below and modify your configuration file appropriately.

Parser Error Message: Access is denied: 'Interop.Excel'.

Source Error:

Line 196: <add assembly="System.EnterpriseServices, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 197: <add assembly="System.Web.Mobile, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 198: <add assembly="*"/>
Line 199: </assemblies>
Line 200: </compilation>

Source File:
c:\winnt\microsoft.net\framework\v1.1.4322\Config\ machine.config Line:
198

Assembly Load Trace: The following information can be helpful to determine
why the assembly 'Interop.Excel' could not be loaded.

=== Pre-bind state information ===
LOG: DisplayName = Interop.Excel
(Partial)
LOG: Appbase = file:///D:/Data/Visual Studio Projects/Leadership
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===

LOG: Policy not being applied to reference at this time (private, custom,
partial, or location-based assembly bind).
LOG: Post-policy reference: Interop.Excel
LOG: Attempting download of new URL
file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/leadership/a3cd84a3/7db66cf2/Interop.Excel.DLL.
LOG: Attempting download of new URL
file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/leadership/a3cd84a3/7db66cf2/Interop.Excel/Interop.Excel.DLL.
LOG: Attempting download of new URL file:///D:/Data/Visual Studio
Projects/Leadership/bin/Interop.Excel.DLL.
LOG: Policy not being applied to reference at this time (private, custom,
partial, or location-based assembly bind).
LOG: Post-policy reference: Interop.Excel, Version=1.3.0.0, Culture=neutral,
PublicKeyToken=null

Nov 18 '05 #1
2 2405
It sounds like the error is resulting from not having the Excel Interop
Assemblies
http://msdn.microsoft.com/library/de...dc_oxppias.asp

I believe that article will be useful. Namely the "Installing the Office XP
PIA" which are properly named "PIA" ;)
Hope this helps

"Rob G" <gu*******@hotmail.com> wrote in message
news:10*************@corp.supernews.com...
Hi,

I am new to this ASP.NET thing and while going very slow, I am learning.
Then I got a Configuration Error out of nowhere when I ran my project.

I do have Excel as reference (but I haven't been able to use it yet).

My project has been running just fine and I am sure I did something
strange
to make this occur, but I have no idea what I did. So now, all the work
I've
put into this, is gone. Well, I hope not.

Any idea what could have happened and how I can fix it?

Thanks so much.

Here's the error:
Configuration Error
Description: An error occurred during the processing of a configuration
file
required to service this request. Please review the specific error details
below and modify your configuration file appropriately.

Parser Error Message: Access is denied: 'Interop.Excel'.

Source Error:

Line 196: <add assembly="System.EnterpriseServices, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 197: <add assembly="System.Web.Mobile, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 198: <add assembly="*"/>
Line 199: </assemblies>
Line 200: </compilation>

Source File:
c:\winnt\microsoft.net\framework\v1.1.4322\Config\ machine.config Line:
198

Assembly Load Trace: The following information can be helpful to determine
why the assembly 'Interop.Excel' could not be loaded.

=== Pre-bind state information ===
LOG: DisplayName = Interop.Excel
(Partial)
LOG: Appbase = file:///D:/Data/Visual Studio Projects/Leadership
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===

LOG: Policy not being applied to reference at this time (private, custom,
partial, or location-based assembly bind).
LOG: Post-policy reference: Interop.Excel
LOG: Attempting download of new URL
file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/leadership/a3cd84a3/7db66cf2/Interop.Excel.DLL.
LOG: Attempting download of new URL
file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/leadership/a3cd84a3/7db66cf2/Interop.Excel/Interop.Excel.DLL.
LOG: Attempting download of new URL file:///D:/Data/Visual Studio
Projects/Leadership/bin/Interop.Excel.DLL.
LOG: Policy not being applied to reference at this time (private, custom,
partial, or location-based assembly bind).
LOG: Post-policy reference: Interop.Excel, Version=1.3.0.0,
Culture=neutral,
PublicKeyToken=null

Nov 18 '05 #2
Thanks for the info.

I was able to remove the reference and it seems to be working OK right now.

I will still walk through the article you sent as I am sure to learn
something new.

Thanks again.

<jo*****@driver.net> wrote in message
news:#4*************@TK2MSFTNGP11.phx.gbl...
It sounds like the error is resulting from not having the Excel Interop
Assemblies
http://msdn.microsoft.com/library/de...us/dnoxpta/htm
l/odc_oxppias.asp
I believe that article will be useful. Namely the "Installing the Office XP PIA" which are properly named "PIA" ;)
Hope this helps

"Rob G" <gu*******@hotmail.com> wrote in message
news:10*************@corp.supernews.com...
Hi,

I am new to this ASP.NET thing and while going very slow, I am learning.
Then I got a Configuration Error out of nowhere when I ran my project.

I do have Excel as reference (but I haven't been able to use it yet).

My project has been running just fine and I am sure I did something
strange
to make this occur, but I have no idea what I did. So now, all the work
I've
put into this, is gone. Well, I hope not.

Any idea what could have happened and how I can fix it?

Thanks so much.

Here's the error:
Configuration Error
Description: An error occurred during the processing of a configuration
file
required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Access is denied: 'Interop.Excel'.

Source Error:

Line 196: <add assembly="System.EnterpriseServices, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 197: <add assembly="System.Web.Mobile, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 198: <add assembly="*"/>
Line 199: </assemblies>
Line 200: </compilation>

Source File:
c:\winnt\microsoft.net\framework\v1.1.4322\Config\ machine.config Line: 198

Assembly Load Trace: The following information can be helpful to determine why the assembly 'Interop.Excel' could not be loaded.

=== Pre-bind state information ===
LOG: DisplayName = Interop.Excel
(Partial)
LOG: Appbase = file:///D:/Data/Visual Studio Projects/Leadership
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===

LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Post-policy reference: Interop.Excel
LOG: Attempting download of new URL
file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/leadership/a3cd84a3/7db66cf2/Interop.Excel.DLL.
LOG: Attempting download of new URL
file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/leadership/a3cd84a3/7db66cf2/Interop.Excel/Interop.Excel.DLL.
LOG: Attempting download of new URL file:///D:/Data/Visual Studio
Projects/Leadership/bin/Interop.Excel.DLL.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Post-policy reference: Interop.Excel, Version=1.3.0.0,
Culture=neutral,
PublicKeyToken=null


Nov 18 '05 #3

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

Similar topics

3
by: Steverino | last post by:
Hi, I'm currently trying to learn DB2. I have the following version below installed on my server machine on my little LAN. However when I try to connect to it from my client machine, I receive...
3
by: Sean W. | last post by:
I keep getting this error. "Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive" This occurs when I try to add a...
2
by: Sara T. | last post by:
Friends, After I installed Windows XP SP2, I often found error when I running ASP.NET Web Application on my desktop. The error is shown as following: Configuration Error Description: An error...
5
by: sophocles the wise | last post by:
I am researching this topic without a satisfactory solution so far. Please let me know which is the easiest way to receive email using VB code. All I need is to test source address or subject line...
10
by: Rider | last post by:
Hi, simple(?) question about asp.net configuration.. I've installed ASP.NET 2.0 QuickStart Sample successfully. But, When I'm first start application the follow message shown. ========= Server...
4
by: Michael Lang | last post by:
I was basically wanting to know how to use the System.Configuration namespace to be able to load an arbitrary number of unknown attributes on an element in a custom section in the .config into a...
3
by: Tarik Monem | last post by:
Hi Everyone, Still a newbie with FLEX, and I've passed arrays using AJAX to FLEX before, but I've never passed links to FLEX. Basically, this is the OUTPUT, which I wanted, but I'm given an...
10
by: John Salerno | last post by:
I wrote some pretty basic socket programming again, but I'm still confused about what's happening with the buffer_size variable. Here are the server and client programs: -------------- from...
5
by: TC | last post by:
Hey All, I'm trying to upload files via FTP and I'm using FtpWebRequest and WebClient. Unfortunately, I'm receiving a "Not Logged In" error. I know that others have seen this as I've seen...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
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
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,...

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.