Click here to Skip to main content
15,511,274 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
C#
Hello,

The web work well in visual studio, But when deploy it or work it in localhost without visual studio , i faced this error, please help me i spent a lot of time about this issue.

Thank you

Source Error:

Line 19:   <system.web>
Line 20:     <compilation targetFramework="4.5"><assemblies>
Line 21:         <add assembly="Telerik.OpenAccess, Version=2015.3.926.1, Culture=neutral, PublicKeyToken=7ce17eeaf1d59342" />
Line 22:       </assemblies></compilation>
Line 23:     <httpRuntime targetFramework="4.5" />
Source File: C:\inetpub\wwwroot\1\web.config    Line: 21 

Assembly Load Trace: The following information can be helpful to determine why the assembly 'Telerik.OpenAccess, Version=2015.3.926.1, Culture=neutral, PublicKeyToken=7ce17eeaf1d59342' could not be loaded.

=== Pre-bind state information ===
LOG: DisplayName = Telerik.OpenAccess, Version=2015.3.926.1, Culture=neutral, PublicKeyToken=7ce17eeaf1d59342
 (Fully-specified)
LOG: Appbase = file:///C:/inetpub/wwwroot/
LOG: Initial PrivatePath = C:\inetpub\wwwroot\bin
Calling assembly : (Unknown).
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\inetpub\wwwroot\web.config
LOG: Using host configuration file: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet.config
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Telerik.OpenAccess, Version=2015.3.926.1, Culture=neutral, PublicKeyToken=7ce17eeaf1d59342
LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/Temporary ASP.NET Files/root/e22c2559/92c7e946/Telerik.OpenAccess.DLL.
LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/Temporary ASP.NET Files/root/e22c2559/92c7e946/Telerik.OpenAccess/Telerik.OpenAccess.DLL.
LOG: Attempting download of new URL file:///C:/inetpub/wwwroot/bin/Telerik.OpenAccess.DLL.
LOG: Attempting download of new URL file:///C:/inetpub/wwwroot/bin/Telerik.OpenAccess/Telerik.OpenAccess.DLL.
LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/Temporary ASP.NET Files/root/e22c2559/92c7e946/Telerik.OpenAccess.EXE.
LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/Temporary ASP.NET Files/root/e22c2559/92c7e946/Telerik.OpenAccess/Telerik.OpenAccess.EXE.
LOG: Attempting download of new URL file:///C:/inetpub/wwwroot/bin/Telerik.OpenAccess.EXE.
LOG: Attempting download of new URL file:///C:/inetpub/wwwroot/bin/Telerik.OpenAccess/Telerik.OpenAccess.EXE.


What I have tried:

I tried use localhost and faced problem
Posted
Updated 31-Jul-16 5:05am
Comments
Kornfeld Eliyahu Peter 31-Jul-16 9:49am    
How you published the site?
Swinkaran 31-Jul-16 10:05am    
Have you tried contacting Telerik.?

1 solution

The Telerik assemblies are missing in localhost. When you are working on Visual studio, the Telerik assemblies are available when you add the Telerik libraries and extensions.
But when you compile and publish in localhost, you need to copy these Telerik libraries inside your application and specify he path. Do the following,

Open the properties of the Telerik and Telerik extensions libraries and set the "Copy Local" to True. This might solve the issue.

Check these references:
Telerik publish [^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900