Error when publishing Site

Asked

Viewed 178 times

0

The system was working very well, I made some changes and after I climbed to the server this error occurs, can anyone tell me what it would be ? The system is MVC with VS 2013.

Note: I went back to the previous version which was a backup of the site and continues the error.

inserir a descrição da imagem aqui

I added the tag: <customErrors mode="Off" />

inserir a descrição da imagem aqui

  • puts the customError Off so you can see the error that is giving

  • there was some error in running the site on the remote server, follow the image instructions (put customErrors off) to see the actual error

  • I added the tag <customErrors mode="Off" /> and added the print to the question

  • There seems to be an error in this Pechkin’s Assembly , has as you try to upload his dll again ?

    1. Are you testing to remove dll reference ? I also found this [link] https://github.com/gmanny/Pechkin/tree/master/Pechkin/tools/net40
  • I just went up... but still the msm error

  • @Adrianocorder post the error and not the images. Text is better for indexing and searching for someone who can search about.

Show 2 more comments

1 answer

1


Possibly this will solve your problem :

1)Seleciona no IIS o pool do seu site
2)Clica com o botao direito 
3)Seleciona Advanced Settings 
4)Seleciona TRUE em Enable 32-bit Applications.

If the item 4) is not enabled for sure you will receive the error you are describing

inserir a descrição da imagem aqui

Not working :

I installed Pechkin here and detected the following dependencies :

inserir a descrição da imagem aqui

To try to solve it I would try :

1)Upload all these files again

2) Delete all these files , remove the references from Common.Logging.dll and Pechkin.dll and install again by nuget , compile the project and upload again these dlls + web.config + a dll from your project

  • Diego was all working properly before uploading the files via FTP and then error appeared, I do not have access to IIS, but I will talk to the client to check this setting.

  • make an edit with a second possible solution

  • 1

    Solved, @Diego Valadares the problem is that the _Pechkin.dll dll was saved in two places: at the root of the project and was also saved in the folder bin, why the project after compiled lost the reference, I had not noticed it, I had not noticed because in design time the problem does not occur.

  • What a mass the problem was solved @Adrianosuv ! I was already getting excited about what could be tbm and as I could not know exactly which dependency was causing the problem I think the solution was right on the basis of the attempts .

Browser other questions tagged

You are not signed in. Login or sign up in order to post.