Link to home
Start Free TrialLog in
Avatar of JnavarroMc
JnavarroMcFlag for Peru

asked on

Failed to connect to server. Error: 0x80070005 when I try to upload an excel file to an IIS server

Hello,

I have been trying to upload an excel file to my IIS site but I had this problem first:

The machine-default permission settings do not grant Local Activation permission for the COM Server application with CLSID 
{00024500-0000-0000-C000-000000000046}
 and APPID 
Unavailable
 to the user IIS APPPOOL\DefaultAppPool SID (S-1-5-82-3006700770-424185619-1745488364-794895919-4004696415) from address LocalHost (Using LRPC) running in the application container Unavailable SID (Unavailable). This security permission can be modified using the Component Services administrative tool.

Open in new window


I could do a little research and execute the following command:
mmc comexp.msc /32

I was able to add the IIS APPPOOL\DefaultAppPool  user to the DCOM configuration  but now I have another error code:

Failed to connect to server. Error: 0x80070005
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
  <Provider Name="MsiInstaller" /> 
  <EventID Qualifiers="0">1015</EventID> 
  <Level>3</Level> 
  <Task>0</Task> 
  <Keywords>0x80000000000000</Keywords> 
  <TimeCreated SystemTime="2018-09-03T04:49:57.000000000Z" /> 
  <EventRecordID>319105</EventRecordID> 
  <Channel>Application</Channel> 
  <Computer>AU3.contoso.com</Computer> 
  <Security UserID="S-1-5-82-3006700770-424185619-1745488364-794895919-4004696415" /> 
  </System>
- <EventData>
  <Data>0x80070005</Data> 
  <Data>(NULL)</Data> 
  <Data>(NULL)</Data> 
  <Data>(NULL)</Data> 
  <Data>(NULL)</Data> 
  <Data>(NULL)</Data> 
  <Data /> 
  </EventData>
  </Event>

Open in new window


Could you help me determine what other procedures I should do?

Thanks!
JN
ASKER CERTIFIED SOLUTION
Avatar of Shaun Vermaak
Shaun Vermaak
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial