Need a special offer?Find out if your project fits.
+

How to deploy the trial version of SQL Server to IIS

Resolved
Joseph mhanna asked on November 19, 2018

Dear Support,
I imported the sql server project into Visual studio and tried to deploy it on IIS but it giving me the following error:
 

HTTP Error 403.14 - Forbidden
The Web server is configured to not list the contents of this directory.

Most likely causes:

  • A default document is not configured for the requested URL, and directory browsing is not enabled on the server.

Things you can try:

  • If you do not want to enable directory browsing, ensure that a default document is configured and that the file exists.
  • Enable directory browsing.
    1. Go to the IIS Express install directory.
    2. Run appcmd set config /section:system.webServer/directoryBrowse /enabled:true to enable directory browsing at the server level.
    3. Run appcmd set config ["SITE_NAME"] /section:system.webServer/directoryBrowse /enabled:true to enable directory browsing at the site level.
  • Verify that the configuration/system.webServer/directoryBrowse@enabled attribute is set to true in the site or application configuration file.

Detailed Error Information:

Module
   DirectoryListingModule

Notification
   ExecuteRequestHandler

Handler
   StaticFile

Error Code
   0x00000000

Requested URL
   http://localhost:55772/

Physical Path
   C:\Users\jmhanna\Documents\inkript\FLEXMONSTER-PIVOT-26-SQL-CSV-JSON\Pivot Table for Databases\server\.net\FlexmonsterCompressor

Logon Method
   Anonymous

Logon User
   Anonymous

Request Tracing Directory
   C:\Users\jmhanna\Documents\IISExpress\TraceLogFiles\FLEXMONSTERCOMPRESSOR

 

More Information:
This error occurs when a document is not specified in the URL, no default document is specified for the Web site or application, and directory listing is not enabled for the Web site or application. This setting may be disabled on purpose to secure the contents of the server.
View more information »

 
Please I need ur help!
 
Regards,
Joseph

1 answer

Public
Dmytro Zvazhii Dmytro Zvazhii Flexmonster November 19, 2018

Hello Joseph,
Thank you for writing. 
That project does not have a starting page that is the reason why you see the 403 error. At the same time, it includes FlexmonsterController as an example which connects to the "AdventureWorks2012" catalog and compresses the data from "Production.Product" table. You can write your own code there to test the compressor.
Here you can find more information about .net compressor: https://www.flexmonster.com/doc/connecting-to-relational-database-with-net/.
Also if you need to run the code of Get() method of FlexmonsterController, you can access the following URL: http://localhost:55772/api/Flexmonster/Get.
Please let us know in case of any other question.
Regards,
Dmytro

Please login or Register to Submit Answer