What can I do to re-enable this feature ?
I just installed Visual Studio 2017. I had removed Visual Studio 2015 before I installed 2017.
What can I do to re-enable this feature ?
I just installed Visual Studio 2017. I had removed Visual Studio 2015 before I installed 2017.
i have a .net 4 website, and some old links are still referring to the old php pages- which do not exist.
i'm trying to redirect any non .NET call to the custom error page, but it only works for .aspx pages
anyone knows how to catch an 404 error for html/php pages?
Hi,
I am building my website, and i want to include continous integration in visual studio online.
My Hosting Provider gave me .publishsetting file which i am using to deploy my website from visual studio. My question is : May i use tfs deploy to achieve that? i have already used tfs to deploy to azure.
Thanks,
Regards
This has started happening recently in our production servers, and have our heads scratching
note that we updated the app from 3.5 to 4.5 about a month ago and this is the first time we've had this problem in production environment
we have 3 webservers , but they read code from a networked shared drive - the 3 websservers servers are handed traffic from a physical load balancer
the setup is cloud hosted and all machines are VM
there has been no deployments since a week or more and we've only started seeing this error from yesterday in production, for the time being, restarting the app pool for the affected site seems to resolve it or at least doesn't happen again for that app pool -
it's intermittent, the client experienced it and we couldn't replicate it when we hit the site
we don't know what causes it, it's seems to affect random sites (we have about 30 sites configured with their own app pools on 3 servers, some are high traffic, some are low traffic), - so far only low traffic sites seem to have been affected
details from the event viewer:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 24/03/2017 10:16:38 AM
Event time (UTC): 23/03/2017 11:16:38 PM
Event ID: 7ccad10ab4f843998507e28e7f3e830f
Event sequence: 16
Event occurrence: 13
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/13/ROOT-4-131347753130092873
Trust level: Full
Application Virtual Path: /
Application Path: \\KICSFILES\KICSWebsites\www.bigscreenherveybay.com.au\
Machine name: WEBFARMSERVER2
Process information:
Process ID: 19896
Process name: w3wp.exe
Account name: WEBFARMSERVER2\KinesisUser
Exception information:
Exception type: InvalidCastException
Exception message: [A]ASP.masterpage_master cannot be cast to [B]ASP.masterpage_master. Type A originates from 'App_Web_m02lvxyf, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' in the context 'Default' at location 'C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary
ASP.NET Files\root\78033966\6587fb47\App_Web_m02lvxyf.dll'. Type B originates from 'App_Web_yo1cuxgg, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' in the context 'Default' at location 'C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET
Files\root\78033966\6587fb47\App_Web_yo1cuxgg.dll'.
at Common_Home.Page_Init(Object sender, EventArgs e)
at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
at System.Web.UI.Control.OnInit(EventArgs e)
at System.Web.UI.Page.OnInit(EventArgs e)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Request information:
Request URL: http://www.bigscreenherveybay.com.au/Page/Home
Request path: /Page/Home
User host address: 172.18.33.46
User:
Is authenticated: False
Authentication Type:
Thread account name: WEBFARMSERVER2\KinesisUser
Thread information:
Thread ID: 40
Thread account name: WEBFARMSERVER2\KinesisUser
Is impersonating: False
Stack trace: at Common_Home.Page_Init(Object sender, EventArgs e)
at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
at System.Web.UI.Control.OnInit(EventArgs e)
at System.Web.UI.Page.OnInit(EventArgs e)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Custom event details:
I got a new PC with win7 enterprise installed, and also VS 2017 enterprise.
I have powershell 5.0 and iis installed .
I got an asp.net mvc4 solution using .net framework 4.5.
now I am trying to build my solution and got error: 'assembly-version' is not recognized as an internal or external command.
I have more than 10 projects in this solution and most of them got this error during compiling.
Here is the detail:
output:
1>------ Build started: Project: Zen.Browser.Shared, Configuration: Debug Any CPU ------ 2>------ Build started: Project: static, Configuration: Debug Any CPU ------ 2>Validating Web Site 2>Building directory '/czmi/'. 2>Building directory '/fabric/'. 2>Building directory '/jquery/dataTables/'. 2>Building directory '/jquery/mobile/'. 2>Building directory '/jquery/'. 2>Building directory '/opensd/'. 2>Building directory '/other/'. 2>Building directory '/test/flexi/examples/'. 2>Building directory '/test/'. 1> 'assembly-version' is not recognized as an internal or external command, 1> operable program or batch file. 1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(1263,5): error MSB3073: The command "assembly-version > C:\Chris\Projects\ZEN Browser\IDB\Main\Source\data\shared\Properties\VersionInfo.cs 1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(1263,5): error MSB3073: " exited with code 9009. 2> 2>Validation Complete 3>------ Build started: Project: Zen.Browser.Common, Configuration: Debug Any CPU ------ 4>------ Build started: Project: Zen.Browser.DB, Configuration: Debug Any CPU ------ 5>------ Build started: Project: Zen.Browser.DTO, Configuration: Debug Any CPU ------ 6>------ Build started: Project: Zen.Browser.Upload, Configuration: Debug Any CPU ------ 7>------ Build started: Project: Zen.Browser.Install, Configuration: Debug Any CPU ------ 3> 'assembly-version' is not recognized as an internal or external command, 3> operable program or batch file. 3>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(1263,5): error MSB3073: The command "assembly-version > C:\Chris\Projects\ZEN Browser\IDB\Main\Source\data\common\Properties\VersionInfo.cs 3>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(1263,5): error MSB3073: " exited with code 9009. 5> 'assembly-version' is not recognized as an internal or external command, 8>------ Build started: Project: msg, Configuration: Debug Any CPU ------ 8>Validating Web Site 5> operable program or batch file. 5>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(1263,5): error MSB3073: The command "assembly-version > C:\Chris\Projects\ZEN Browser\IDB\Main\Source\data\generated\dto\Properties\VersionInfo.cs 5>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(1263,5): error MSB3073: " exited with code 9009. 8> 8>Validation Complete 9>------ Build started: Project: script, Configuration: Debug Any CPU ------ 9>Validating Web Site 4> 'assembly-version' is not recognized as an internal or external command, 4> operable program or batch file. 4>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(1263,5): error MSB3073: The command "assembly-version > C:\Chris\Projects\ZEN Browser\IDB\Main\Source\data\db\Properties\VersionInfo.cs 4>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(1263,5): error MSB3073: " exited with code 9009. 10>------ Build started: Project: Zen.Browser.BO, Configuration: Debug Any CPU ------ 11>------ Build started: Project: Generator, Configuration: Debug Any CPU ------ 9> 9>Validation Complete 10> 'assembly-version' is not recognized as an internal or external command, 10> operable program or batch file. 10>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(1263,5): error MSB3073: The command "assembly-version > C:\Chris\Projects\ZEN Browser\IDB\Main\Source\data\generated\bo\Properties\VersionInfo.cs 10>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(1263,5): error MSB3073: " exited with code 9009. 12>------ Build started: Project: Zen.Browser.Security, Configuration: Debug Any CPU ------ 6> 'assembly-version' is not recognized as an internal or external command, 6> operable program or batch file. 6>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(1263,5): error MSB3073: The command "assembly-version > C:\Chris\Projects\ZEN Browser\IDB\Main\Source\data\upload\Properties\VersionInfo.cs 6>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(1263,5): error MSB3073: " exited with code 9009. 13>------ Build started: Project: Zen.Browser.Uploader, Configuration: Debug Any CPU ------ 12> 'assembly-version' is not recognized as an internal or external command, 12> operable program or batch file. 12>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(1263,5): error MSB3073: The command "assembly-version > C:\Chris\Projects\ZEN Browser\IDB\Main\Source\data\security\Properties\VersionInfo.cs 12>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(1263,5): error MSB3073: " exited with code 9009. 14>------ Build started: Project: Zen.Browser.Module, Configuration: Debug Any CPU ------ 7>CSC : error CS0006: Metadata file 'C:\Chris\Projects\ZEN Browser\IDB\Main\Source\data\shared\bin\Debug\Zen.Browser.Shared.dll' could not be found 15>------ Build started: Project: Zen.Browser.Installer, Configuration: Debug Any CPU ------ 14> 'assembly-version' is not recognized as an internal or external command, 14> operable program or batch file. 14>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(1263,5): error MSB3073: The command "assembly-version > C:\Chris\Projects\ZEN Browser\IDB\Main\Source\data\module\Properties\VersionInfo.cs 14>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(1263,5): error MSB3073: " exited with code 9009. 15>CSC : error CS0006: Metadata file 'C:\Chris\Projects\ZEN Browser\IDB\Main\Source\data\install\bin\Debug\Zen.Browser.Install.dll' could not be found 15>CSC : error CS0006: Metadata file 'C:\Chris\Projects\ZEN Browser\IDB\Main\Source\data\shared\bin\Debug\Zen.Browser.Shared.dll' could not be found 13>CSC : error CS0006: Metadata file 'C:\Chris\Projects\ZEN Browser\IDB\Main\Source\data\shared\bin\Debug\Zen.Browser.Shared.dll' could not be found 13>CSC : error CS0006: Metadata file 'C:\Chris\Projects\ZEN Browser\IDB\Main\Source\data\upload\bin\Debug\Zen.Browser.Upload.dll' could not be found 16>------ Build started: Project: zdb, Configuration: Debug Any CPU ------ 16> 'assembly-version' is not recognized as an internal or external command, 16> operable program or batch file. 16>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(1263,5): error MSB3073: The command "assembly-version > C:\Chris\Projects\ZEN Browser\IDB\Main\Source\web\zdb\Properties\VersionInfo.cs" exited with code 9009. 11>CSC : error CS0006: Metadata file 'C:\Chris\Projects\ZEN Browser\IDB\Main\Source\data\common\bin\Debug\Zen.Browser.Common.dll' could not be found 11>CSC : error CS0006: Metadata file 'C:\Chris\Projects\ZEN Browser\IDB\Main\Source\data\db\bin\Debug\Zen.Browser.DB.dll' could not be found 11>CSC : error CS0006: Metadata file 'C:\Chris\Projects\ZEN Browser\IDB\Main\Source\data\shared\bin\Debug\Zen.Browser.Shared.dll' could not be found 17>------ Build started: Project: all, Configuration: Debug Any CPU ------ 17> all -> C:\Chris\Projects\ZEN Browser\IDB\Main\Source\all\bin\Debug\all.exe 17> 'C:\Chris\Projects\ZEN' is not recognized as an internal or external command, 17> operable program or batch file. 17>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(4933,5): error MSB3073: The command "C:\Chris\Projects\ZEN Browser\IDB\Main\Source\prepare_deployment.cmd C:\Chris\Projects\ZEN Browser\IDB\Main\Source\ bin\Debug\" exited with code 9009. ========== Build: 3 succeeded, 14 failed, 0 up-to-date, 0 skipped ==========
error list:
Severity Code Description Project File Line Suppression State Error CS0006 Metadata file 'C:\Chris\Projects\ZEN Browser\IDB\Main\Source\data\shared\bin\Debug\Zen.Browser.Shared.dll' could not be found Zen.Browser.Uploader C:\Chris\Projects\ZEN Browser\IDB\Main\Source\data\uploader\CSC 1 Active Error CS0006 Metadata file 'C:\Chris\Projects\ZEN Browser\IDB\Main\Source\data\shared\bin\Debug\Zen.Browser.Shared.dll' could not be found Zen.Browser.Install C:\Chris\Projects\ZEN Browser\IDB\Main\Source\data\install\CSC 1 Active Error CS0006 Metadata file 'C:\Chris\Projects\ZEN Browser\IDB\Main\Source\data\install\bin\Debug\Zen.Browser.Install.dll' could not be found Zen.Browser.Installer C:\Chris\Projects\ZEN Browser\IDB\Main\Source\data\installer\CSC 1 Active Error CS0006 Metadata file 'C:\Chris\Projects\ZEN Browser\IDB\Main\Source\data\shared\bin\Debug\Zen.Browser.Shared.dll' could not be found Zen.Browser.Installer C:\Chris\Projects\ZEN Browser\IDB\Main\Source\data\installer\CSC 1 Active Error CS0006 Metadata file 'C:\Chris\Projects\ZEN Browser\IDB\Main\Source\data\upload\bin\Debug\Zen.Browser.Upload.dll' could not be found Zen.Browser.Uploader C:\Chris\Projects\ZEN Browser\IDB\Main\Source\data\uploader\CSC 1 Active Error CS0006 Metadata file 'C:\Chris\Projects\ZEN Browser\IDB\Main\Source\data\common\bin\Debug\Zen.Browser.Common.dll' could not be found Generator C:\Chris\Projects\ZEN Browser\IDB\Main\Source\data\generator\CSC 1 Active Error CS0006 Metadata file 'C:\Chris\Projects\ZEN Browser\IDB\Main\Source\data\db\bin\Debug\Zen.Browser.DB.dll' could not be found Generator C:\Chris\Projects\ZEN Browser\IDB\Main\Source\data\generator\CSC 1 Active Error CS0006 Metadata file 'C:\Chris\Projects\ZEN Browser\IDB\Main\Source\data\shared\bin\Debug\Zen.Browser.Shared.dll' could not be found Generator C:\Chris\Projects\ZEN Browser\IDB\Main\Source\data\generator\CSC 1 Active Error The command "assembly-version > C:\Chris\Projects\ZEN Browser\IDB\Main\Source\data\shared\Properties\VersionInfo.cs" exited with code 9009. Zen.Browser.Shared Error The command "assembly-version > C:\Chris\Projects\ZEN Browser\IDB\Main\Source\data\common\Properties\VersionInfo.cs" exited with code 9009. Zen.Browser.Common Error The command "assembly-version > C:\Chris\Projects\ZEN Browser\IDB\Main\Source\data\db\Properties\VersionInfo.cs" exited with code 9009. Zen.Browser.DB Error The command "assembly-version > C:\Chris\Projects\ZEN Browser\IDB\Main\Source\data\generated\dto\Properties\VersionInfo.cs" exited with code 9009. Zen.Browser.DTO Error The command "assembly-version > C:\Chris\Projects\ZEN Browser\IDB\Main\Source\data\generated\bo\Properties\VersionInfo.cs" exited with code 9009. Zen.Browser.BO Error The command "assembly-version > C:\Chris\Projects\ZEN Browser\IDB\Main\Source\data\security\Properties\VersionInfo.cs" exited with code 9009. Zen.Browser.Security Error The command "assembly-version > C:\Chris\Projects\ZEN Browser\IDB\Main\Source\data\upload\Properties\VersionInfo.cs" exited with code 9009. Zen.Browser.Upload Error The command "assembly-version > C:\Chris\Projects\ZEN Browser\IDB\Main\Source\data\module\Properties\VersionInfo.cs" exited with code 9009. Zen.Browser.Module Error The command "assembly-version > C:\Chris\Projects\ZEN Browser\IDB\Main\Source\web\zdb\Properties\VersionInfo.cs" exited with code 9009. zdb Error The command "C:\Chris\Projects\ZEN Browser\IDB\Main\Source\prepare_deployment.cmd C:\Chris\Projects\ZEN Browser\IDB\Main\Source\ bin\Debug\" exited with code 9009. all
Please let me know if you need more information and help me resolve this problem, thank you.
Hi,
In my application, I have sub folders in which I have segregated my web pages. Now, While deploying, How can I publish my application. And set the default page.
Say, //My folder path is like this ~\Cards\cardpage1.aspx
How can I set this as the default page. Please help me in this process. A step by step guide is well appreciated.
-Deepak
Hi All,
I have been programming for a few years now, specifically using Visual Basic 6 and then going on to VB.net.
Recently I created my first ASP.Net application using Visual Web Developer 2010 express, however, due to my lack of experience with ASP.net, I'm finding it difficult to work out how I can deploy the finished product.
Basically I was hoping that when I had created the application, I could upload it to my own webspace and then utilise the application on a page within my own website. But from what I've read, I'm beginning to wonder if ASP.net applications can actually be used in that way. I'm guessing not. But if I'm wrong, I would really appreciate some guidance.
I have read up on IIS, but this seems to be for running websites from a server and I don't utilise a server, hence why I was hoping I could run the application from my own webspace instead.
Any help would be great.
Thanks.
Hi all.
I'm a single developer (i.e, there's no team involved) and my site is about to go Live. My site includes reading from a back-end database and uploading files (the files are named according to primary keys inserted into the database, so there is a relationship there).
Anyway. I'm thinking about a strategy of migrating from my Development environment (i.e, my laptop with Visual Studio and IIS Express) to some form of Staging site (so I can get friends and family to test remotely) and then to a Production site. Whilst maintaining version control somehow.
What's the best strategy for this? Am i best to buy another domain (such as mydomaintest.co.uk) for the staging environment and point it to 'another' (i.e the staging version) website on my virtual private server etc?
Just wondered what the recommended approach is. I'm worried about things becoming unmanageable and overwriting things in my production filesystem or database!
Thanks.
Hello guys,
I am making a website with C# and i wonder what could i do to allow my friends access my website? I am not experienced with this stuff so maybe someone could suggest a way to make my website public. I hope you understood what I meant. Waiting for replies :)
Hello,
I have a web application built in VS 2010. When I try to publish it to a file location with VS 2012, I get the error "The target GatherAllFilesToPublish does not exist". I read the other similar thread, but it for VS 2010. Does anyone know why this is happening and what to do about it?
Thanks,
Steven
How I can change for the default browser in Visual Studio 2017? my project need to use monitoring from browser via IP, but in my VS 2017, Internet Explorer doesnt exist, 'cause in IE have error "object doesnt support property or method addeventlistener" can you help me to change my default browser?
I have to set a non default file upload max size, in article from Jon Galloway "Large file uploads in ASP.NET" (https://weblogs.asp.net/jongalloway/large-file-uploads-in-asp-net). He shows not only how to do it, but you can restrict a large upload to specific folder of your site.
Made my try, but.... there is something wrong with "path", it doe not work and no error message.
<location path="~/Upload/Email>
<system.web>
<httpRuntime executionTimeout="110" maxRequestLength="15000"/>
</system.web>
</location>
Most examples shows just a single folder, in this case I have to go 2 levels deeper, but it is not working.
Remove "~" is not acceptable due to: <location> path attribute must be a relative virtual path. It cannot start with any of ' ' '.' '/' or '\'. error
Use just "Upload/Email" does not work.
Create a web.config at Upload/Email, is not an option, such folder is just for temporary files, all files are deleted after read
Is there anything wrong with path syntax?
Such definition does not work locally?
This is my first, hopefully not last, web app - so, I expect I'll be posting a few more pleas for help before all is said and done.
I have an app created in VisualStudio 2008 that accesses an SQL database on another server within our network. The app worked fine when launched locally from VS2008. Now, I'm trying to get it to actually run on a network server. I've gotten numerous errors during trying to get this working, and seem to be going around in circles, so I'm posting the latest one with the expectation that there will be more to come.
The error I'm getting at the moment is "Server Error 401 - Unauthorized: Access is denied due to invalid credentials."
The app is on a Windows 2008 R2 server running IIS 7.5. It is compiled (I used the Publish option in VS2008). My domain account is a member of the Administrators group on the hosting PC, and the Administrators have full access to the application folder.
The app has its own AppPool, running under a custom domain account. This domain account has also been given full access to the app folder. The app has authentication enabled for ASP.NET Impersonation and Windows Authentication only.
UPDATE:
I couldn't help myself and continued to tinker. Now I'm getting a login prompt for the server on which the app is hosted, and, when I cancel it, I get "HTTP Error 401. The requested resource requires user authentication." What I had done was change the order of the providers for Window Authentication so that Negotiate comes before NTLM, which gave me the error "Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'". I changed the order back to NTLM followed by Negotiate, and got the HTTP Error 401.
Hi All,
I am trying to deploy an asp.net c# site into a new web windows 2012R2 server using IIS8.
The site use SQL server for database, currently it is connecting using sa user. How can I configure and connect using a windows domain user account?
the connection string on the web.config looks like:
<connectionStrings>
<add name="myConnString" connectionString="Data Source=10.10.1.20;Initial Catalog=myDB;Integrated Security=False; User Id=sa; Password=myPass;"
providerName="System.Data.SqlClient" />
</connectionStrings>
<authentication mode="Forms">
<forms loginUrl="~/Login.aspx" defaultUrl="~/Index.aspx"/>
</authentication>
<authorization>
<deny users="?"/>
</authorization>
The domain windows user mySQLuser have the permissions and connect to the SQL server fine.
I try using this connection string:
<add name="myConnString" connectionString="Data Source=10.10.1.20;Initial Catalog=myDB;Integrated Security=SSPI;" providerName="System.Data.SqlClient" />
But I got an error, Exception Details: System.Data.SqlClient.SqlException: Login failed for user 'myDomain\MY-DEV-WEB$'.
Where MY-DEV-WEB is the name of the server. How can I included the name my user in the string connection?
Thanks in advanced!
Hey,
I hope this is the right place.
We have a corporate intranet that people can upload documents too. XLSM files don't work - nothing happens.
Is there something built-in to .NET / IIS that prohibits this? If so, how do I allow these files?
Thanks
Hi,
We are using the following command to compile our site -
aspnet_compiler -c -v /sitenamedn -p <source of files> <destinationof files> >compilelog.txt
The source and destination of files are on file server, the compiler command runs on App Server.
We are facing the issue where the above command runs fine some times, and the other times it just fails to generate the compiled dlls without throwing any errors.
This issue is very random, and when it fails for one site, if we run the exact same command again for the same site, it goes through fine and successfully generates the compiled dlls.
Any help on this will be greatly appreciated.
Thanks Much!
Buying Virtual Private Server from Godaddy is Good idea? how is the support ? what are the challenges ?
Your feedback will be very helpful.
Thanks
Ho do I Add application pool user with read/write access to AppData folder when doing Publish VS 2015
Hi all,
I am trying to build a solution using MSBuild in the command prompt.
The solution is several class libraries and a website (not a web application/project).
When running the command to build the following error is displayed:
error MSB3462: Either MetabasePath or VirtualPath must be specified.
Has anyone had any luck dealing with this?
In case it is relevant, the solution is from VS2015.
Thanks.
I am working on VS 2015. I need to deploy my C# web project into IIS 7. The problem is, I have all my pages in sub-folders (Segregated). Now, I need to take the default page from a sub folder. I do not have any web.config files in the sub-folders. Please help me by telling me how to do it. My process for deployment is:
1. Publish the project in release mode.
2. Open IIS 7, Click Add website by right clicking Sites,
3. choose the site name, Give apppool for .Net 4.0 version
4. Provide physical path as the Published code folder.
5. Choose an IP address and Port.
6. A site will be added in the IIS. Now, goto default document in IIS
7. Provide the name as ~/Reports/DailyReport.aspx
If I follow this process, I get the error: "A default document is not selected." Please tell me how I can configure the default document in the above process or in the web.config file. Please give me a step by step process to do this.
Thanks,
Deepak