I have created one application using MVC5 to connect to Notes database using COM interop domino dll. It works fine on my local but doesn't works through IIS of my computer. It gives login view but failed to connect to database and gives an
An error occurred while processing your request.
So I think there is a database connectivity problem with notes database. Is there any difference between accessing database using local and IIS? I haven't changed anything for IIS, just configure it to run the mvc application.
I am using 64bit OS.
Any idea why I can't connect to notes database using IIS?
Related
i got a Powerbuilder (12.5) .net assembly application which dll generated is referenced by an ASP.NET MVC application.
Basically, ASP.NET call to PB assembly NVO function with some parameters, then PB retrieves data from DB (SQLServer) through a dataStore and then saves it as PDF, then returns the name of PDF file to ASP.NET MVC app and then Web application send PDF file to user for downloading.
In local PC it works nice.
but when i deploy into web server it fails:
Error: "Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.
I have installed all dll from Runtime Packager.
I have sent all dll, xml and pbds that PB gnerate when project is deployed.
In IIS everything is rightly configured.
So id like to know if someone kwows anything about this error.
thanks in advance
There is a role or feature that needs installed called desktop experience if I remember correctly. This allows a service to have a desktop to run under otherwise it is a console app. I ran into this when printing PDFs from a service. The fonts were wrong and not set to what I set them to until I installed that feature.
It sounds like you already gave iis access to run on the server with full access to windows and file system.
John
im getting Server Error in '/' Application.
after publishing my MVC web app http://crave2.azurewebsites.net/ which is connected to SQL SERVER 2008 R2 at some server? tried adding or removing the suggested code but still doesnt give me any helpful errors, what is usually wrong with this one?
With poor documentation from Microsoft (site says still working...forever), I completed a web application with ASP.NET 4.5.2, MVC 6 (ASP.NET 5), EF7 -Code First, Angular JS in Visial Studio 2015. This is working fine locally including user registration- that is it is inserting data to SQL database.
However, when I published to File System & ran through IIS, database is not getting created automatically nor data got inserted(if database already existed)- The error just says
'An error occurred while processing your request.'
when trying to login or while registering user.
I did not have 'Databases' section in publish web option of Visual Studio 2015.
I just need this connectivity to database. Please help to resolve as this issue is sure to be faced by everyone.
I´m trying to deploy an MVC 3 project to my server runing IIS 7.
I tried creating a package with VS2010. The resulting zip-file I moved to the server and imported this to the IIS7. This is going well so far. I can also open the loginpage in the browser, but when logging-in (Database query for checking login data ) there comes a message "Sorry, an error occurred while processing your request."
How do I have to deploy? Are there other ways? I manage the database connection via a dll. I also tried to connect to localhost but this didn´t work either.
Thanks
http://www.iwantmymvc.com/2011-03-23-bin-deploy-aspnet-mvc-3-visual-studio
I have joined a team developing an ASP.NET MVC version 1 application. I run this app on my local machine using IIS version 7.5. My operating system is Windows Server 2008 R2 Enterprise Edition. I use Visual Studio 2008 SP1 for development.
One of the controllers in this app is called ReportsController. The route table entries for this controller use 'Reports' as the controller name part. The problem I have is that, using IIS 7.5 on my local machine, I simply cannot access any of the Reports action methods. If I try to access, say, '/Reports/Index' from Chrome or Firefox, I get a 401 Unauthorized response (as seen using Fiddler) and the browser displays its username/password entry dialog.
Please note the following:
All other non-Report pages in the application work correctly.
If I add a breakpoint to Application_BeginRequest, it is not hit when requesting a Reports page.
If I change the Reports routing entries in the route table registration code so that I have to access paths like '/Reportss/Index' (note the extra 's') then these Reports pages work correctly.
I have tried deleting then recreating my Web application in IIS.
The Reports pages work fine if I run the application using the Visual Studio 2008 development server (Cassini).
There is no directory called Reports in the application directory.
The Reports pages work correctly on our UAT environment, also under IIS 7.5.
I have reviewed my IIS setting several times, including comparing them with those on UAT, and I can't see a problem.
While I can use Cassini to access the Reports pages, I would really like to understand what is causing this issue.
If you have Reporting Services installed on your machine. try to create a new web site and use it. If you have SSRS installed on your machine it uses /reports for hosting reports.
I have had problems using the directory name 'Reports' at the root of a .net 2.0 website on IIS 7.5. It generates a 503 Error, indicating that there is an error at the system level before IIS tries to serve the page. I am not sure if reporting services is installed on my server. I just changed the directory name, all links and everything worked.
I have the exact same issue in my MVC Application with reporting services installed on the same server where code was deployed. I have changed the Reporting Manager URL in "SQL Server Reporting Services Configuration" which was hostName/Reports and assigned a new name i.e. SSRSReports so the virtual directory is now hostName/SSRSReports.
Now my application as well as SSRS Reports are working as expected.