Unable to generate a temporary class (result=1) - asp.net-mvc-3

I am getting this error message when i tried to host my mvc website on local IIS server on my PC . and tried to access it from my web browser.
Please help me how to get rid of this problem. I want to host my mvc3 website on my local IIS server

Check whether the user account that is running the application has read and write access to %temp% folder

Related

IIS is throwing HTTP Error 500.0 - IsapiModule

I've created one VM windows 2016 on Azure and installed Weblogic 12.2.1.3 and SQLServer2016.
Deployed an ear file and can get to the application login page.
I've configured IIS with this my application to have https url. I followed everything that we usually do on our on premises servers but I'm getting a weird error. Does anybody can help me please?
According to your description, I suggest you could try to use below steps to solve this issue.
1.Ensure that the path to the ISAPI DLL is correct
Open the IIS mangement console and locate the web sites and find the hanlder mapping feature.
Then you find the myapp_iisproxy handler in it and check the executable's path is right or not.
2.Ensure that the NTFS permissions for the web.config file are correct and allow access to the Web server's machine account.
3.Verify permissions for the DLL. Make sure your application has the permission to access the dll file.

Publish Windows Form application to ftp location

I'm using Visual Studio trying to publish my win form app to ftp location so that the users can download it using a link, and later my app could notify the users to update their application.
I have a shared windows website host, I just created a ftp user with full control over a sub-domain. I can access the sub domain successfully using filezill.
but after many hours I can't publish my test win form app. It give me this error
Failed to connect to 'ftp://eee.aaa.com/' with the following error:
Unable to create the Web site 'ftp://eee.aaa.com'. Request denied for policy reasons.
what I've been missed?

Cannot add additional server from the Server Explorer

Can some of you can help me with this.
What I have to do:
I have to publish my code from my local machine to the server. I found that I have to add the current server in the Server Explorer(to be able to create a Publish profile "method File System" and in the xml file to show the path of where to publish my code on the server).
But I cannot add this server on my Server Explorer.
What I tried:
1.Remote debugging - not working
2.stop the firewall - not working
3.Tried with the Name of the Server and the IP
The error that I receive is :
Could not reconnect to "Static". Make Sure that the machine name and path are valid.
I will be really happy if somebody can help me!

Visual Studio webdeploy fail even when connection is validated?

I am trying to deploy my webapp VS2015 RC1 DNX 451. Even when I validate connection and run publish I get error
Severity Code Description Project File
Error Error Code: ERROR_USER_UNAUTHORIZED
Error More Information: Connected to the remote computer ("crocus.arvixe.com") using the Web Management Service, but could not authorize. Make sure that you are using the correct user name and password, that the site you are connecting to exists, and that the credentials represent a user who has permissions to access the site. Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_USER_UNAUTHORIZED.
Error Error: The remote server returned an error: (401) Unauthorized.
Googling the issue and even trying to view host forum just says make sure username and password is correct. I am getting nowhere trying various settings. Any ideas how to debug the issue?
I am using Arvixe.com as host.
You should contact Arvixe.com. They likely have some odd configuration on their servers but I would suspect they can help you resolve the issue.
Arvixe does not support Web Deploy anymore. Once they move you to their new servers Web Deploy won't be available to you. In Visual Studio you can set up a Publish with FTP instead of Web Deploy. If you're used to Web Deploy publishing your database changes, then you'll need to do those yourself with SQL scripts. Entity Frameworks has an option to produce a SQL script for a migration, so you can use that to publish your EF database changes.

WebDeploy - just can't get it to work

I've installed Web Deploy 2.1 on a Server 2008 R2 running under VMWare.
In the IIS Manager (Management Service applet) I can see that "Enable Remote Connections" is checked and the port is set to 8172. Under "IIS Manager Permissions" I've added my Windows account (CORP\ekkis) and under the "Authentication" applet (for IIS) I have enabled "Windows Authentication".
I've also turned off the firewall.
So from the command line I test the system to work like this:
C:\Program Files\IIS\Microsoft Web Deploy V2>msdeploy -verb:dump -source:contentPath=\temp,wmsvc=192.168.0.70,username=CORP\ekkis,password=MyPass,authType=Basic -allowUntrusted=True
and get this:
Info: Using ID '9b954a0f-ff07-4e77-ba2c-d27472f5fda0' for connections to the rem
ote server.
Error Code: ERROR_USER_UNAUTHORIZED
More Information: Connected to the destination computer ("192.168.0.70") using t
he Web Management Service, but could not authorize. Make sure that you are using
the correct user name and password, that the site you are connecting to exists,
and that the credentials represent a user who has permissions to access the sit
e.
Error: Object of type 'contentPath' and path '\temp' cannot be created.
Error: The remote server returned an error: (401) Unauthorized.
Error count: 1.
I've also tried deploying with Visual Studio 2010 from the host OS with the following service urls (I haven't found proper documentation on how to form this url):
https://192.168.0.70/
https://192.168.0.70:8172/
https://192.168.0.70:8172/MsDeployAgentService/
https://192.168.0.70/MsDeployAgentService/
I've tried the non-secure versions as well but just cannot get it to work. What is the correct format for the url? and what permissions am I missing?
the errors from VS have varied depending on how I attempt it but below is a sample:
Could not complete the request to remote agent URL 'http://192.168.0.70:8172//MSDEPLOYAGENTSERVICE'.
The underlying connection was closed: An unexpected error occurred on a receive.
Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
An existing connection was forcibly closed by the remote host
Publish failed to deploy.
there really should be a guide out there to do this (yes, I've googled myself blue in the face)!
thanks - ekkis
ok, I've figured out that the correct url is:
https://192.168.0.70:8172/MsDeploy.axd
and that having the "Windows Authentication" enabled doesn't seem to make a difference. Also, having my account in the "Managers" list doesn't seem to make a difference either.
so the back end was all working fine (I've turned off the Web Deployment Agent Service). it was just the url I had wrong.

Resources