6
Answers

ASP.net MVC5 deployment assembly error in web server.

Hi i createdd one application in MVC5. I upload my application in online using Web server. So i purchased Virtual Private Server from Godaddy. I upload my application in online using Remote desktop connection by purchased web server IP address (from Godaddy) .
 
 
 
Now my application is working fine.But i got one issue in DailyVisitReport view. In this view contain two fields called FromDate and ToDate. If i select the FromDate and ToDate, it generate the report depend upon the dates. I am using Crystal Report.But im getting error while generating report. The Error is mention in the below image.
 
 
 

I checked the Solution for this error in google . Many of them ask me to enable 32-bit in both application and iis server . I enbale 32 bit in IIS Server and also change the platform target of my applictaion to 32 bit.

Enabled 32bit in IIS Server

 
 
But Still showing that error while im trying to generate the report. Any one understand my issue and help me to resolve this issue. 
 
Advance Thanks.. 
Answers (6)
0
Manas Mohapatra

Manas Mohapatra

NA 29.3k 3.3m 8y
See your exception is saying it needs<span style="color: #2f2e2e; font-family: 'Open Sans', sans-serif; font-size: 14px; 22px; background-color: #ffffff;">13.0.2000.0 but in bin folder it is 13.0.16.1954. So both are different. Please make it same.</span>
0
Sneha Dhandapani

Sneha Dhandapani

NA 383 36.4k 8y
My dll Version
0
Manas Mohapatra

Manas Mohapatra

NA 29.3k 3.3m 8y
Did you check the dll version is 13.0.2000.0 in your bin folder.
0
Vinay Singh

Vinay Singh

NA 5.9k 126.1k 8y
Hi
The problem is with the library version refrence.
In this case you can do one thing public the code and then deploy. and what ever the library version you have install into local machine install on server also.
0
Sneha Dhandapani

Sneha Dhandapani

NA 383 36.4k 8y
I checked in my bin folder of my project the crystal report dll are properly load i think so manas
0
Manas Mohapatra

Manas Mohapatra

NA 29.3k 3.3m 8y
The problem is mostly with your dllversion. Means the dllis not able to load properly. Please make sure that you have the correct version of dllin bin folder or GAC.
 
If it is not there then you need to install SAP Crystal Reports runtime engine for .NET Framework.