By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,921 Members | 1,433 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,921 IT Pros & Developers. It's quick & easy.

Receiving Configuration Error, I've Never Seen Before

P: n/a
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
Share this Question
Share on Google+
2 Replies


P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.