Click here to Skip to main content
15,887,175 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: row increase by 1 Pin
Saravanan Ayyappan22-May-14 21:48
professionalSaravanan Ayyappan22-May-14 21:48 
AnswerRe: row increase by 1 Pin
Rishita_varma22-May-14 23:58
Rishita_varma22-May-14 23:58 
QuestionSSRS 2005 in ASP.net Pin
berba21-May-14 19:58
berba21-May-14 19:58 
AnswerRe: SSRS 2005 in ASP.net Pin
DamithSL22-May-14 5:47
professionalDamithSL22-May-14 5:47 
GeneralRe: SSRS 2005 in ASP.net Pin
berba26-May-14 1:13
berba26-May-14 1:13 
QuestionWeb deployment task failed Pin
Sultan Uz Zaman21-May-14 5:35
Sultan Uz Zaman21-May-14 5:35 
AnswerRe: Web deployment task failed Pin
DamithSL21-May-14 17:20
professionalDamithSL21-May-14 17:20 
AnswerRe: Web deployment task failed Pin
jkirkerx28-May-14 12:24
professionaljkirkerx28-May-14 12:24 
I've never used the web deployment, well maybe during VS2005 but that was almost 10 years ago.

Back in the old days, you use to be able to setup your IIS 5 / IIS 6 web server using software, that can read and write the IIS website metabase config files in the windows operating system. Very easy to read and write too using managed code or c++ on Windows XP.

Since IIS 7, the web config is now written to the web.config file in your project folder. So you just copy the project to your server, and just point IIS 7+ folder path to the web site project folder. Now you click on the bind link to test the bind to the server.

I'm pretty sure that the feature your speaking about is legacy, and I'm not really sure why it's still there. Some folks still use IIS 5 and IIS 6 to host web sites on, which is not very secure in today's world.

The Application pool is not written to the web config, so you have to program that by hand. If your having trouble programming the app pool, or setting permissions for the app pool in the website folder, That's another complex project.

I like the new system, because deployment time is much faster now.

Sample system.webServer. This sample programs the default page name, sets the maximum upload size, and sets compression for static and dynamic pages to TRUE. You can do much more, but this works for me on my projects. The rest of the settings are default settings.

<system.webServer>
    <defaultDocument>
      <files>
        <remove value="iisstart.htm"/>
        <remove value="index.html"/>
        <remove value="index.htm"/>
        <remove value="Default.asp"/>
        <remove value="Default.htm"/>
        <add value="index.aspx"/>
      </files>
    </defaultDocument>
    <security>
      <requestFiltering>
        <requestLimits maxAllowedContentLength="52428800"/>
      </requestFiltering>
    </security>
    <urlCompression doStaticCompression="true" doDynamicCompression="true"/>
  </system.webServer>


I don't know of too many people that use the feature in question. But you have to have the IIS 6 metabase compatibility turned on for Windows Vista, 7 and 8 in order for it to work I think.
http://www.iis.net/learn/manage/managing-your-configuration-settings/metabase-compatibility-with-iis-7-and-above[^]
QuestionCreating Multiple sheets in C# from html table and downloading Pin
Kandepu Rajesh20-May-14 20:50
Kandepu Rajesh20-May-14 20:50 
QuestionGPRS Data Logger to Website IP Pin
Member 1082292919-May-14 19:14
Member 1082292919-May-14 19:14 
QuestionMessage Closed Pin
18-May-14 23:37
Member 1082843918-May-14 23:37 
Questionhow to run event of asp contol by javascript code? Pin
alireza672518-May-14 5:41
alireza672518-May-14 5:41 
AnswerRe: how to run event of asp contol by javascript code? Pin
Anurag Gandhi22-May-14 4:19
professionalAnurag Gandhi22-May-14 4:19 
QuestionHow to convert speech to text? Pin
Member 1066162816-May-14 23:32
Member 1066162816-May-14 23:32 
AnswerRe: How to convert speech to text? Pin
Kornfeld Eliyahu Peter17-May-14 8:22
professionalKornfeld Eliyahu Peter17-May-14 8:22 
AnswerRe: How to convert speech to text? Pin
Richard MacCutchan17-May-14 21:11
mveRichard MacCutchan17-May-14 21:11 
QuestionFailed to map Path in Report Viewer Pin
Ravindra Bisen16-May-14 21:23
Ravindra Bisen16-May-14 21:23 
AnswerRe: Failed to map Path in Report Viewer Pin
ZurdoDev2-Jun-14 9:49
professionalZurdoDev2-Jun-14 9:49 
QuestionCode is not calculating percentages correctly. Pin
samflex16-May-14 7:57
samflex16-May-14 7:57 
AnswerRe: Code is not calculating percentages correctly. Pin
jkirkerx16-May-14 11:49
professionaljkirkerx16-May-14 11:49 
GeneralRe: Code is not calculating percentages correctly. Pin
samflex16-May-14 13:18
samflex16-May-14 13:18 
GeneralRe: Code is not calculating percentages correctly. Pin
jkirkerx16-May-14 13:24
professionaljkirkerx16-May-14 13:24 
GeneralRe: Code is not calculating percentages correctly. Pin
samflex16-May-14 15:19
samflex16-May-14 15:19 
GeneralRe: Code is not calculating percentages correctly. Pin
jkirkerx16-May-14 16:26
professionaljkirkerx16-May-14 16:26 
QuestionPaging Dynamic Data in a Gridview Pin
Grajek15-May-14 7:47
Grajek15-May-14 7:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.