Unable to run cmd.exe in hosted web application?

Hi
I have to execute a cmd.exe in web application to merge a file.My code work fine on my dev environment. But on hosting the
application on server unable to run the cmd.exe . Below is the code.
 ProcessStartInfo processStartInfo = new ProcessStartInfo("cmd.exe");
                    processStartInfo.RedirectStandardInput = true;
                    processStartInfo.RedirectStandardOutput = true;
                    processStartInfo.UseShellExecute = false;
                    Process process = Process.Start(processStartInfo);
                    if (process != null)
                        process.StandardInput.WriteLine("c:");
                        process.StandardInput.WriteLine("xcopy " + srcfilename + " " + destfilename + "
/a /m /d /s /e /v");
                        // process.StandardInput.WriteLine("a");
                        process.StandardInput.Close(); // line added to stop process from hanging on ReadToEnd()
                        string outputString = process.StandardOutput.ReadToEnd();
                        process.Close();
                        // process.Kill();                   
Pawan

What is the hosting you are using on azure? Hosted your application as Azure web site or cloud service?
If it is a azure cloud service - you will either need to define the start up tasks to do the same or need to run your azure roles in elevated context.
Read more - https://msdn.microsoft.com/en-us/library/azure/gg456327.aspx
https://msdn.microsoft.com/en-us/library/gg557553.aspx#Runtime
Bhushan | Blog |
LinkedIn | Twitter

Similar Messages

  • Requirement is to run CMD.EXE under the Local System Account. So that we can map a network drive to be used by a windows service, which will be created by command: - net use z: \\servername\sharedfolder /persistent:yes

    Environment:
    OS:  Windows 7 32/64 bit, Windows 2008 Server 64
    bit/ Windows 2012 Server 64 bit
    Priority:
    - Critical
    Requirement: - Since
    the Windows Service is running under the Local System Account, we would like to emulate this same behaviour.
    Basically, we would like to run CMD.EXE under the Local System Account. So that we can map a network drive to be used by a service using following
    command
    net use z: \\servername\sharedfolder /persistent:yes.
    Already Attempt:
    We tried to launch the CMD.exe using the DOS Task Scheduler AT command.  Here’s a sample command:
    AT 10:36 /interactive cmd.exe
    But I received a warning that “due
    to security enhancements, this task will run at the time excepted but not interactively.”
    It turns out that this approach will work for XP, 2000 and Server 2003 but due to session isolation
    Interactive services no longer work on Windows 7, Windows Server 2008 and above.
      2.  We
    tried to create a secondary Windows Service via the Service Control (sc.exe) which merely launches CMD.exe.
    <Drive>:\sc create RunCMDAsLSA binpath= "cmd" type=own type=interact <Drive>:\sc
    start RunCMDAsLSA
    In this case the service fails to start and results it the following error message:
    FAILED 1053: The service did not respond to the start or control request in a timely fashion.
      3. One
    suggestion, we found to launch CMD.exe via a Scheduled Task, but
    it is not giving any option to launch CMD.exe in interactive mode; so that I can map network drive using net command.
      4. I read an article, which
    demonstrates the use of PSTools from SysInternals. I launched the command line and executed following command
    psexec -i -s cmd.exe
    PSTools worked fine, but It seems that in scope of Sysinternals Software License
    Terms. You may not "use the software for commercial software hosting services."
    Application will deploy on client, which will be like commercial,
    so we are not able to use PSTools.         
    Kindly assist us for achieving the requirement. We have tried all the ways, but nothing is working for us. Kindly suggest.
    I will be really thankful.

    Hi Sir,
    Nothing worked from above for us. You can see our remarks on posted query.
    That’s why, we posted on forum.
    And there will not be any vulnerability, because, if we will use "net
    use ..."
    in network domain; definitely,
    we will provide username and password of mapped drive system.
    And, that system, itself is given by client; so that, there must not be any vulnerability; they are ready to provide user name and password.
    We need a way; by which we can complete the requirement. Kindly assist.
    Regards,
    S. P. Singh

  • How to run local host web application in win 7 64 bit with oracle database?

    Hi all,
    Hope doing well,
    sir i am running my local host web application with oracle database in win 7 32 bit. it's working fine.
    but when i am running the same thing in win 7 64 bit. it's showing login error.
    not going to home page even i checked with this published file open in visual studio it's working fine.
    how to run it correctly?
    thanks in advance.

    The number of times you have been asked to post sufficient details for your questions, we would expect you to have got the message by now... but clearly not.
    952646 wrote:
    but when i am running the same thing in win 7 64 bit. it's showing login error.What error? You haven't posted an error. There are millions of possible errors in computing and you're expecting people to guess which one.
    not going to home page even i checked with this published file open in visual studio it's working fine.
    how to run it correctly?No code, no database version, no details...... = NO HELP.
    When are you going to learn.

  • Solaris 10 06/06 x86 install Unable to run cmd: /usr/sbin/sysidput

    Hello,
    When I install Solaris 10 06/06 on my x86 machine, I follow all of the prompts. Eventually , I get to a place in the X Windows GUI where I enter my IP, netmask, Router IP, DNS server IPs, domain, and search list.
    I get an error at the end of th network configuration section.
    runCmd error in /usr/sbin/sysidput with output:
    Unable to run cmd: /usr/sbin/sysidput
    No sysidcfg found.
    I found my sysidcfg at /etc/sysidcfg. everytime I try to create a file or copy a file over to /usr/sbin. I get a read only error. I am logged in as root..
    /etc is not my $PATH. Is that the problem? Do special commands exist to put it in the path?
    Please help. I have not used UNIX in two years. I not know Solaris Administration.
    Does a newer DVD exist with the fix already done?
    Thank you very much.
    Andre Mikulec
    [email protected]

    This is a known issue. Do not configure the network at the time of OS installation. Select NON-Networked and continue,
    Once you are done with the installation, run sys-unconfig and you will be able to configure the network.
    -M

  • Unable to run cmd:/usr/sbin/sysidput

    Trying to load Solaris10 from a jumpstart server running Solaris 8. I keep getting the error Unable to run cmd: /usr/sbin/sysidput. It seems to have something to do with networking. Does anybody know what this error is or a workaround for it.

    Well, i saw it in a Solaris 10 Beta, it should be fixed in the current version.
    Do you have a sysidcfg file? If so, what does it point out as a primary interface? Maybe the primary interfaces specified in that file doesn't exists on the machine.
    Othervise, check the /var/sadm/system/logs/sysidtool.log file (might be under /a/var/sadm/system/logs/sysidtool.log )
    //Magnus

  • Ho w to run exe from a web application

    hi
    is there any chance to run exe from a web application under tomcat.
    plz tell me

    Please make the extra effort to write out words such as "please" and "your". The extra keystrokes won't cost much in the way of time, and the enhanced clarity will be appreciated by those communicating on a forum with international readership.
    What don't you understand about the previous answers?

  • Solaris10 install - unable to run cmd /usr/sbin/sysidput

    I have an Ultra10 at home with Solaris9 on it now. Attempting to install Solaris10 from CDs. Boots up fine on first CD, then tries to configure hme0 and chokes. Gives me errors "Warning: hme0: fault detected in device; service degraded" and "Warning: hme0: No response from Ethernet network: link down --cable problem?"
    I'm using a Linksys cable modem BEFCMU10 and Linksys cable router WRT54GS. Noticed it started doing this when I changed from old BEFSR41 router to new wireless router.
    Well, I ignore this error and move on. Install process gathers info such as dhcp (yes, my router set up to do this), time zone and so forth. It processes my inputs and then gives me the error "unable to run cmd /usr/sbin/sysidput".
    Anyone have either of these problems and resolve them successfully?
    Thanks, Ron

    How do I enable this at install time from the CDs?Afraid the answer is likely burn a custom boot CD
    after judicious tampering with the GA media-set - or -
    read up on custom JumpStart installations (neither
    are exactly for the faint hearted, both are probably
    overkill).
    Wondering if this is causing the other error "unable
    to run cmd /usr/sbin/sysidput"?Could be a combination of a bug in the installer
    triggered by primary netif down + DHCP network
    parameter configuration selected.
    Suggestion would be (as next poster suggests)
    rebuild with node detached from LAN, and, with
    static, dummy network parameters as workaround,
    then post-install setup etc/system to work around
    your switch's carrier-sense bogosity as per Sol9
    as well as re-enable for DHCP.
    It's probably also worth filing this as a bug if you
    have a SunService contract; it wouldn't be the
    first time one of OpenPROM, the install-time
    mini-root, suninstall, or dhcpagent have shipped
    with inbuilt "just don't do's".
    IOTW - work around the problem, bug it with Sun
    if it's reproducable, then get on with life.

  • Jumpstart - Unable to run cmd: /usr/sbin/sysidput

    I'm working on migrating my main NIS/Jumpstart server from Solaris 8 to Solaris 10. I've setup up a new Solaris 10 NIS/Jumpstart server for testing purposes while the Solaris 8 server is still in production.
    Any time I try to install a client with this new Solaris 10 server, it blows up when it gets to the "Please wait while the system is configured with your settings..." window.
    An Error dialog is displayed with the text "An error has occurred in configuring the system. Please go back and check your settings."
    The console shows:
    Completing system identification...
    runCmd error in /usr/sbin/sysidput
    Unable to run cmd: /usr/sbin/sysidput
    General error, see /var/sadm/system/logs/sysidtool.logThe sysidtool.log doesn't show anything of any interest, so that's a dead-end.
    Of course I've tried changing all the settings, getting rid of sysidcfg all together and answering the prompts instead, but the install still fails in the same way.
    Any help will be greatly appreciated.
    Thanks,
    --Zach
    Edited by: ZachAnthony on Oct 9, 2007 2:41 PM
    Edited by: ZachAnthony on Oct 9, 2007 2:42 PM

    I too faced this error and wondered wat 2 do. Its just elementary
    Press Stop A combination and come to OK prompt if sparc machine
    Remove LAN cable and restart by executing command : boot cdrom
    Go for NON NETWORKED option while installation.Later you can setup after installation
    If u want u can enable remote services
    It will work...no need to do anything with sysidput file
    I have advised this option for sparc machines
    if any issues reply.................

  • Allow a windows non-administrator user to run cmd.exe as administrator without sharing administrator password with the user

    I have standalone Windows 2003 and 2008 Oracle database servers (they are not in a Windows domain environment ). The Oracle DBAs can perform all their routine activities from command line with administrator privileges. For this i've to either share administrator
    user password with the Oracle DBAs or add their windows login user to Administrators group. If i can give the DBA user permission to run windows command prompt without sharing administrator password, i can give them non-administrator login access to Windows
    2003/2008 server. Normally when a non administrator user would try to run a program as administrator on Windows 2008, the user is prompted to input administrator username/password. Is it possible to give non-admin user access to run a program/application (cmd.exe
    in this case) on Windows 2003/2008 without sharing administrator credentials with them?

    With the OTORISER application I developed, normal users can run applications with admin privilege …  
    Otoriser is totally free ! Applications, mmc consoles, control panel cpl files can be run under admin and system context with Otoriser. Let’s say you donot want your users to be admin in their machines, but want them to run some applications with admin rights.
    If this is the case then you are on the right blog.
    There are two components for Otoriser. Management and client components. There are no complex implementation and no frustrating steps to be performed. Within 10 minutes you can start testing the results
    After you download the setup files, install client components in the client by running it directly (or any deployment method you have), it will take about 5 seconds to install it. Then, let’s say you want your user to change system properties of the machine.
    With the tool provided in Admin package produce the hash of system.cpl file and enter that hash into the group policy (details are provided in documentation). When policies are applied for that user then he or she can run that control panel applet under admin
    context but donot forget that the user is still an ordinary user.
    download link :
    http://burakuysaler.wordpress.com/2013/02/21/with-the-otoriser-application-that-i-developed-normal-users-can-run-applications-with-admin-priviledges

  • Unable to create a new Central Administration web application using New-SPCentralAdministration

    for some reason the Central administration web application is no more accessible, and i will get the following error when i try accessing it, this problem happened after i delete a web application using the central administration UI:-
    so i open the IIS , and i find that the CA web application exists and also its physical path as follow:-
    so i am not sure why i can not access the CA web application any more. i try running the following command to create a new CA web application :-
    New-SPCentralAdministration -Port 31546 -WindowsAuthPr
    ovider "NTLM"
    but this did not solve the problem. can anyone advice how i can have my CA web application running again?

    now i removed the CA web application from IIS , and then i run the configuration wizard, whch have create a new CA. but when i try accessing it i got the same problem , here is the related logs :-
    7/2014 16:01:47.62 w3wp.exe (0x0AEC) 0x0F20 SharePoint Foundation Monitoring nasq Medium Entering monitored scope (Request (GET:http://tgvstg01:31546/default.aspx)). Parent No
    11/27/2014 16:01:47.62 w3wp.exe (0x0AEC) 0x0F20 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (GET:http://tgvstg01:31546/default.aspx) 9842d09c-5c06-d003-e007-3ec8b83ab2e5
    11/27/2014 16:01:47.62 w3wp.exe (0x0AEC) 0x0F20 SharePoint Foundation Authentication Authorization agb9s Medium Non-OAuth request. IsAuthenticated=True, UserIdentityName=, ClaimsCount=0 9842d09c-5c06-d003-e007-3ec8b83ab2e5
    11/27/2014 16:01:47.62 w3wp.exe (0x0AEC) 0x0F20 SharePoint Foundation Files ak8dj High UserAgent not available, file operations may not be optimized. at Microsoft.SharePoint.SPFileStreamManager.CreateCobaltStreamContainer(SPFileStreamStore spfs, ILockBytes ilb, Boolean copyOnFirstWrite, Boolean disposeIlb) at Microsoft.SharePoint.SPFileStreamManager.SetInputLockBytes(SPFileInfo& fileInfo, SqlSession session, PrefetchResult prefetchResult) at Microsoft.SharePoint.CoordinatedStreamBuffer.SPCoordinatedStreamBufferFactory.CreateFromDocumentRowset(Guid databaseId, SqlSession session, SPFileStreamManager spfstm, Object[] metadataRow, SPRowset contentRowset, SPDocumentBindRequest& dbreq, SPDocumentBindResults& dbres) at Microsoft.SharePoint.SPSqlClient.GetDocumentContentRow(Int32 rowOrd, Object ospFileStmMgr, SPDocumentBindRequest& dbreq, SPDocumentBindResults& dbres... 9842d09c-5c06-d003-e007-3ec8b83ab2e5
    11/27/2014 16:01:47.62* w3wp.exe (0x0AEC) 0x0F20 SharePoint Foundation Files ak8dj High ...) at Microsoft.SharePoint.Library.SPRequestInternalClass.GetFileAndMetaInfo(String bstrUrl, Byte bPageView, Byte bPageMode, Byte bGetBuildDependencySet, String bstrCurrentFolderUrl, Int32 iRequestVersion, Byte bMainFileRequest, Boolean& pbCanCustomizePages, Boolean& pbCanPersonalizeWebParts, Boolean& pbCanAddDeleteWebParts, Boolean& pbGhostedDocument, Boolean& pbDefaultToPersonal, Boolean& pbIsWebWelcomePage, String& pbstrSiteRoot, Guid& pgSiteId, UInt32& pdwVersion, String& pbstrTimeLastModified, String& pbstrContent, UInt32& pdwPartCount, Object& pvarMetaData, Object& pvarMultipleMeetingDoclibRootFolders, String& pbstrRedirectUrl, Boolean& pbObjectIsList, Guid& pgListId, UInt32& pdwItemId, Int64& pllListFlags, Boolean& pbAccessDenied, Guid& pgDocid, Byte& piLevel, UInt64& ppermMask, ... 9842d09c-5c06-d003-e007-3ec8b83ab2e5
    11/27/2014 16:01:47.62* w3wp.exe (0x0AEC) 0x0F20 SharePoint Foundation Files ak8dj High ...Object& pvarBuildDependencySet, UInt32& pdwNumBuildDependencies, Object& pvarBuildDependencies, String& pbstrFolderUrl, String& pbstrContentTypeOrder, Guid& pgDocScopeId) at Microsoft.SharePoint.Library.SPRequestInternalClass.GetFileAndMetaInfo(String bstrUrl, Byte bPageView, Byte bPageMode, Byte bGetBuildDependencySet, String bstrCurrentFolderUrl, Int32 iRequestVersion, Byte bMainFileRequest, Boolean& pbCanCustomizePages, Boolean& pbCanPersonalizeWebParts, Boolean& pbCanAddDeleteWebParts, Boolean& pbGhostedDocument, Boolean& pbDefaultToPersonal, Boolean& pbIsWebWelcomePage, String& pbstrSiteRoot, Guid& pgSiteId, UInt32& pdwVersion, String& pbstrTimeLastModified, String& pbstrContent, UInt32& pdwPartCount, Object& pvarMetaData, Object& pvarMultipleMeetingDoclibRootFolders, String& pbst... 9842d09c-5c06-d003-e007-3ec8b83ab2e5
    11/27/2014 16:01:47.62* w3wp.exe (0x0AEC) 0x0F20 SharePoint Foundation Files ak8dj High ...rRedirectUrl, Boolean& pbObjectIsList, Guid& pgListId, UInt32& pdwItemId, Int64& pllListFlags, Boolean& pbAccessDenied, Guid& pgDocid, Byte& piLevel, UInt64& ppermMask, Object& pvarBuildDependencySet, UInt32& pdwNumBuildDependencies, Object& pvarBuildDependencies, String& pbstrFolderUrl, String& pbstrContentTypeOrder, Guid& pgDocScopeId) at Microsoft.SharePoint.Library.SPRequest.GetFileAndMetaInfo(String bstrUrl, Byte bPageView, Byte bPageMode, Byte bGetBuildDependencySet, String bstrCurrentFolderUrl, Int32 iRequestVersion, Byte bMainFileRequest, Boolean& pbCanCustomizePages, Boolean& pbCanPersonalizeWebParts, Boolean& pbCanAddDeleteWebParts, Boolean& pbGhostedDocument, Boolean& pbDefaultToPersonal, Boolean& pbIsWebWelcomePage, String& pbstrSiteRoot, Guid& pgSiteId, UInt32& pdwVersion,... 9842d09c-5c06-d003-e007-3ec8b83ab2e5
    11/27/2014 16:01:47.62* w3wp.exe (0x0AEC) 0x0F20 SharePoint Foundation Files ak8dj High ... String& pbstrTimeLastModified, String& pbstrContent, UInt32& pdwPartCount, Object& pvarMetaData, Object& pvarMultipleMeetingDoclibRootFolders, String& pbstrRedirectUrl, Boolean& pbObjectIsList, Guid& pgListId, UInt32& pdwItemId, Int64& pllListFlags, Boolean& pbAccessDenied, Guid& pgDocid, Byte& piLevel, UInt64& ppermMask, Object& pvarBuildDependencySet, UInt32& pdwNumBuildDependencies, Object& pvarBuildDependencies, String& pbstrFolderUrl, String& pbstrContentTypeOrder, Guid& pgDocScopeId) at Microsoft.SharePoint.SPWeb.GetWebPartPageContent(Uri pageUrl, Int32 pageVersion, PageView requestedView, HttpContext context, Boolean forRender, Boolean includeHidden, Boolean mainFileRequest, Boolean fetchDependencyInformation, Boolean& ghostedPage, String& siteRoot, Guid& siteId, Int64& bytes, ... 9842d09c-5c06-d003-e007-3ec8b83ab2e5
    11/27/2014 16:01:47.62* w3wp.exe (0x0AEC) 0x0F20 SharePoint Foundation Files ak8dj High ...Guid& docId, UInt32& docVersion, String& timeLastModified, Byte& level, Object& buildDependencySetData, UInt32& dependencyCount, Object& buildDependencies, SPWebPartCollectionInitialState& initialState, Object& oMultipleMeetingDoclibRootFolders, String& redirectUrl, Boolean& ObjectIsList, Guid& listId) at Microsoft.SharePoint.ApplicationRuntime.SPRequestModuleData.FetchWebPartPageInformationForInit(HttpContext context, SPWeb spweb, Boolean mainFileRequest, String path, Boolean impersonate, Boolean& isAppWeb, Boolean& fGhostedPage, Guid& docId, UInt32& docVersion, String& timeLastModified, SPFileLevel& spLevel, String& masterPageUrl, String& customMasterPageUrl, String& webUrl, String& siteUrl, Guid& siteId, Object& buildDependencySetData, SPWebPartCollectionInitialState& initialState, ... 9842d09c-5c06-d003-e007-3ec8b83ab2e5
    11/27/2014 16:01:47.62* w3wp.exe (0x0AEC) 0x0F20 SharePoint Foundation Files ak8dj High ...String& siteRoot, String& redirectUrl, Object& oMultipleMeetingDoclibRootFolders, Boolean& objectIsList, Guid& listId, Int64& bytes) at Microsoft.SharePoint.ApplicationRuntime.SPRequestModuleData.GetFileForRequest(HttpContext context, SPWeb web, Boolean exclusion, String virtualPath) at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.InitContextWeb(HttpContext context, SPWeb web) at Microsoft.SharePoint.WebControls.SPControl.SPWebEnsureSPControl(HttpContext context) at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.GetContextWeb(HttpContext context) at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.PostResolveRequestCacheHandler(Object oSender, EventArgs ea) at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IEx... 9842d09c-5c06-d003-e007-3ec8b83ab2e5
    11/27/2014 16:01:47.62* w3wp.exe (0x0AEC) 0x0F20 SharePoint Foundation Files ak8dj High ...ecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error) at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb) at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompl... 9842d09c-5c06-d003-e007-3ec8b83ab2e5
    11/27/2014 16:01:47.62* w3wp.exe (0x0AEC) 0x0F20 SharePoint Foundation Files ak8dj High ...etion(IntPtr pHandler, RequestNotificationStatus& notificationStatus) at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) 9842d09c-5c06-d003-e007-3ec8b83ab2e5
    11/27/2014 16:01:47.62 w3wp.exe (0x0AEC) 0x0F20 SharePoint Foundation Files aiv4w Medium Spent 0 ms to bind 5230 byte file stream 9842d09c-5c06-d003-e007-3ec8b83ab2e5
    11/27/2014 16:01:47.62 w3wp.exe (0x0AEC) 0x0F20 SharePoint Foundation Logging Correlation Data xmnv Medium Site=/ 9842d09c-5c06-d003-e007-3ec8b83ab2e5
    11/27/2014 16:01:47.62 w3wp.exe (0x0AEC) 0x0F20 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (PostResolveRequestCacheHandler). Execution Time=5.95222297806006 9842d09c-5c06-d003-e007-3ec8b83ab2e5
    11/27/2014 16:01:47.63 w3wp.exe (0x0AEC) 0x0F20 SharePoint Foundation General 8nca Medium Application error when access /default.aspx, Error=Could not load file or assembly 'KWizCom.SharePoint.Foundation, Version=13.3.0.0, Culture=neutral, PublicKeyToken=30fb4ddbec95ff8f' or one of its dependencies. The system cannot find the file specified. at KWizCom.SharePoint.ClipboardManager.CONTROLTEMPLATES.ClipboardManager.RegisterClipboard.Page_Load(Object sender, EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeS... 9842d09c-5c06-d003-e007-3ec8b83ab2e5
    11/27/2014 16:01:47.63* w3wp.exe (0x0AEC) 0x0F20 SharePoint Foundation General 8nca Medium ...tagesAfterAsyncPoint) 9842d09c-5c06-d003-e007-3ec8b83ab2e5
    11/27/2014 16:01:47.63 w3wp.exe (0x0AEC) 0x0F20 SharePoint Foundation Runtime tkau Unexpected System.IO.FileNotFoundException: Could not load file or assembly 'KWizCom.SharePoint.Foundation, Version=13.3.0.0, Culture=neutral, PublicKeyToken=30fb4ddbec95ff8f' or one of its dependencies. The system cannot find the file specified. at KWizCom.SharePoint.ClipboardManager.CONTROLTEMPLATES.ClipboardManager.RegisterClipboard.Page_Load(Object sender, EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPo... 9842d09c-5c06-d003-e007-3ec8b83ab2e5
    11/27/2014 16:01:47.63* w3wp.exe (0x0AEC) 0x0F20 SharePoint Foundation Runtime tkau Unexpected ...int) 9842d09c-5c06-d003-e007-3ec8b83ab2e5
    11/27/2014 16:01:47.63 w3wp.exe (0x0AEC) 0x0F20 SharePoint Foundation General ajlz0 High Getting Error Message for Exception System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.IO.FileNotFoundException: Could not load file or assembly 'KWizCom.SharePoint.Foundation, Version=13.3.0.0, Culture=neutral, PublicKeyToken=30fb4ddbec95ff8f' or one of its dependencies. The system cannot find the file specified. File name: 'KWizCom.SharePoint.Foundation, Version=13.3.0.0, Culture=neutral, PublicKeyToken=30fb4ddbec95ff8f' at KWizCom.SharePoint.ClipboardManager.CONTROLTEMPLATES.ClipboardManager.RegisterClipboard.Page_Load(Object sender, EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.... 9842d09c-5c06-d003-e007-3ec8b83ab2e5
    11/27/2014 16:01:47.63* w3wp.exe (0x0AEC) 0x0F20 SharePoint Foundation General ajlz0 High ...LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.We... 9842d09c-5c06-d003-e007-3ec8b83ab2e5
    11/27/2014 16:01:47.63* w3wp.exe (0x0AEC) 0x0F20 SharePoint Foundation General ajlz0 High ...b.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) 9842d09c-5c06-d003-e007-3ec8b83ab2e5
    11/27/2014 16:01:47.63 w3wp.exe (0x0AEC) 0x0F20 SharePoint Foundation General aat87 Monitorable 9842d09c-5c06-d003-e007-3ec8b83ab2e5
    11/27/2014 16:01:47.63 w3wp.exe (0x0AEC) 0x0F20 SharePoint Foundation Micro Trace uls4 Medium Micro Trace Tags: 0 adyrv,0 nasq,0 agb9s,4 ak8dj,1 b4ly,8 8nca,0 tkau,0 ajlz0,0 aat87 9842d09c-5c06-d003-e007-3ec8b83ab2e5
    11/27/2014 16:01:47.63 w3wp.exe (0x0AEC) 0x0F20 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (GET:http://tgvstg01:31546/default.aspx)). Execution Time=19.067157976782 9842d09c-5c06-d003-e007-3ec8b83ab2e5
    11/27/2014 16:01:47.63 w3wp.exe (0x0AEC) 0x1680 SharePoint Foundation General adyrv High Cannot find site lookup info for request Uri http://localhost:31546/_layouts/15/1033/styles/corev15.css?rev=OqAycmyMLoQIDkAlzHdMhQ==.
    11/27/2014 16:01:47.63 w3wp.exe (0x0AEC) 0x1060 SharePoint Foundation General adyrv High Cannot find site lookup info for request Uri http://localhost:31546/_layouts/15/1033/styles/Themable/corev15.css?rev=OqAycmyMLoQIDkAlzHdMhQ==.
    11/27/2014 16:01:47.63 w3wp.exe (0x0AEC) 0x1680 SharePoint Foundation Configuration 8059 Warning Alternate access mappings have not been configured. Users or services are accessing the site http://tgvstg01:31546 with the URL http://localhost:31546. This may cause incorrect links to be stored or returned to users. If this is expected, add the URL http://localhost:31546 as an AAM response URL. For more information, see: http://go.microsoft.com/fwlink/?LinkId=114854"/>
    11/27/2014 16:01:47.63 w3wp.exe (0x0AEC) 0x1060 SharePoint Foundation Configuration 8059 Warning Alternate access mappings have not been configured. Users or services are accessing the site http://tgvstg01:31546 with the URL http://localhost:31546. This may cause incorrect links to be stored or returned to users. If this is expected, add the URL http://localhost:31546 as an AAM response URL. For more information, see: http://go.microsoft.com/fwlink/?LinkId=114854"/>
    11/27/2014 16:01:47.63 w3wp.exe (0x0AEC) 0x1680 SharePoint Foundation Micro Trace uls4 Medium Micro Trace Tags: 0 adyrv
    11/27/2014 16:01:47.63 w3wp.exe (0x0AEC) 0x1060 SharePoint Foundation Micro Trace uls4 Medium Micro Trace Tags: 0 adyrv
    11/27/2014 16:01:47.65 w3wp.exe (0x0AEC) 0x1AC0 SharePoint Foundation General adyrv High Cannot find site lookup info for request Uri http://localhost:31546/ScriptResource.axd?d=UuopqMVjxlPyCKB-J3eW7oCZ8X3UkGAybJ_dvoik03YDEq7Zegjt4Rg9aDbicjrfcVKKD4V1RBuG2GzH3AdohtmnM3vg050NGuKmIlPPvv57bGV_m6dHaMqVZD5429U5RSpuui-0diKTzu3l7OHl8wpwz1Bgdsby6l2gbBCMRaMDBhl1a1Xp6nG7Nb3NlGfW0&t=7e632e9f.
    11/27/2014 16:01:47.65 w3wp.exe (0x0AEC) 0x1AC0 SharePoint Foundation Configuration 8059 Warning Alternate access mappings have not been configured. Users or services are accessing the site http://tgvstg01:31546 with the URL http://localhost:31546. This may cause incorrect links to be stored or returned to users. If this is expected, add the URL http://localhost:31546 as an AAM response URL. For more information, see: http://go.microsoft.com/fwlink/?LinkId=114854"/>
    11/27/2014 16:01:47.65 w3wp.exe (0x0AEC) 0x1AC0 SharePoint Foundation Micro Trace uls4 Medium Micro Trace Tags: 0 adyrv
    11/27/2014 16:01:47.65 w3wp.exe (0x0AEC) 0x1B9C SharePoint Foundation General adyrv High Cannot find site lookup info for request Uri http://localhost:31546/_layouts/15/1033/styles/error.css?rev=nc1850SZNy60qTAeQIRxsA==.
    11/27/2014 16:01:47.65 w3wp.exe (0x0AEC) 0x1B9C SharePoint Foundation Configuration 8059 Warning Alternate access mappings have not been configured. Users or services are accessing the site http://tgvstg01:31546 with the URL http://localhost:31546. This may cause incorrect links to be stored or returned to users. If this is expected, add the URL http://localhost:31546 as an AAM response URL. For more information, see: http://go.microsoft.com/fwlink/?LinkId=114854"/>
    11/27/2014 16:01:47.65 w3wp.exe (0x0AEC) 0x1B9C SharePoint Foundation Micro Trace uls4 Medium Micro Trace Tags: 0 adyrv
    11/27/2014 16:01:47.71 w3wp.exe (0x0AEC) 0x1B9C SharePoint Foundation Runtime afu6a High [Forced due to logging gap, cached @ 11/27/2014 16:01:47.65, Original Level: VerboseEx] No SPAggregateResourceTally associated with thread.
    11/27/2014 16:01:47.71 w3wp.exe (0x0AEC) 0x1B9C SharePoint Foundation Runtime afu6b High [Forced due to logging gap, Original Level: VerboseEx] No SPAggregateResourceTally associated with thread.
    11/27/2014 16:01:47.71 w3wp.exe (0x0AEC) 0x1B9C SharePoint Foundation General adyrv High Cannot find site lookup info for request Uri http://localhost:31546/_layouts/15/init.js?rev=rQHvYUfURJXLBpgKnm0dcA==.
    11/27/2014 16:01:47.71 w3wp.exe (0x0AEC) 0x1B9C SharePoint Foundation Configuration 8059 Warning Alternate access mappings have not been configured. Users or services are accessing the site http://tgvstg01:31546 with the URL http://localhost:31546. This may cause incorrect links to be stored or returned to users. If this is expected, add the URL http://localhost:31546 as an AAM response URL. For more information, see: http://go.microsoft.com/fwlink/?LinkId=114854"/>
    11/27/2014 16:01:47.71 w3wp.exe (0x0AEC) 0x1B9C SharePoint Foundation Micro Trace uls4 Medium Micro Trace Tags: 0 adyrv
    11/27/2014 16:01:47.71 w3wp.exe (0x0AEC) 0x0E8C SharePoint Foundation Runtime afu6a High [Forced due to logging gap, cached @ 11/27/2014 16:01:47.65, Original Level: VerboseEx] No SPAggregateResourceTally associated with thread.
    11/27/2014 16:01:47.71 w3wp.exe (0x0AEC) 0x0E8C SharePoint Foundation Runtime afu6b High [Forced due to logging gap, Original Level: VerboseEx] No SPAggregateResourceTally associated with thread.
    11/27/2014 16:01:47.71 w3wp.exe (0x0AEC) 0x0E8C SharePoint Foundation General adyrv High Cannot find site lookup info for request Uri http://localhost:31546/ScriptResource.axd?d=7IyzISHOgOSyHIlvXy8QdZcgEzGJDQqGKmJaoQjTOiaBz5VlSWcOLKEUSzu8OULMTnnhbaq_-M0WsBRbRbI4C0hGFySGSjYp5rz_grh3qRY5BTEa8vorG92WxotZwh5JXXg6gAscDxPMYJjtv2xudJ85xIui8hahYynsNIyBIm-8hwWUmX9p1xnMGTP_dupT0&t=7e632e9f.
    11/27/2014 16:01:47.71 w3wp.exe (0x0AEC) 0x0E8C SharePoint Foundation Configuration 8059 Warning Alternate access mappings have not been configured. Users or services are accessing the site http://tgvstg01:31546 with the URL http://localhost:31546. This may cause incorrect links to be stored or returned to users. If this is expected, add the URL http://localhost:31546 as an AAM response URL. For more information, see: http://go.microsoft.com/fwlink/?LinkId=114854"/>
    11/27/2014 16:01:47.71 w3wp.exe (0x0AEC) 0x0D68 SharePoint Foundation Runtime afu6a High [Forced due to logging gap, cached @ 11/27/2014 16:01:47.65, Original Level: VerboseEx] No SPAggregateResourceTally associated with thread.
    11/27/2014 16:01:47.71 w3wp.exe (0x0AEC) 0x0D68 SharePoint Foundation Runtime afu6b High [Forced due to logging gap, Original Level: VerboseEx] No SPAggregateResourceTally associated with thread.
    11/27/2014 16:01:47.71 w3wp.exe (0x0AEC) 0x0D68 SharePoint Foundation General adyrv High Cannot find site lookup info for request Uri http://localhost:31546/_layouts/15/blank.js?rev=ZaOXZEobVwykPO9g8hq/8A==.
    11/27/2014 16:01:47.71 w3wp.exe (0x0AEC) 0x0D68 SharePoint Foundation Configuration 8059 Warning Alternate access mappings have not been configured. Users or services are accessing the site http://tgvstg01:31546 with the URL http://localhost:31546. This may cause incorrect links to be stored or returned to users. If this is expected, add the URL http://localhost:31546 as an AAM response URL. For more information, see: http://go.microsoft.com/fwlink/?LinkId=114854"/>
    11/27/2014 16:01:47.71 w3wp.exe (0x0AEC) 0x0E8C SharePoint Foundation Micro Trace uls4 Medium Micro Trace Tags: 0 adyrv
    11/27/2014 16:01:47.71 w3wp.exe (0x0AEC) 0x1CF4 SharePoint Foundation Runtime afu6a High [Forced due to logging gap, cached @ 11/27/2014 16:01:47.65, Original Level: VerboseEx] No SPAggregateResourceTally associated with thread.
    11/27/2014 16:01:47.71 w3wp.exe (0x0AEC) 0x1CF4 SharePoint Foundation Runtime afu6b High [Forced due to logging gap, Origin
    can anyone advice on this please , i have spend two days over this without being able to know what is the problem ?

  • Advice needed for provider hosted web application - authentication and access to SharePoint document library

    I haven't done SharePoint 2013 development with claims so I apologize in advance if my assumptions and questions are way out in left field.
    I'm trying to understand SharePoint 2013 claims authentication for a scenario that involves:
    A SharePoint provided hosted (web forms) app that will pull information and assets (e.g. PDFs) from SharePoint into the web page.
    It will be a VS 2012 solution with asp.net.identity feature.
    Security will be set for internal users, federated external users and forms-based external users.  Based on their security and (claim type) role it will define what information and assets that can be retrieved from SharePoint
    I have looked through MSDN and other sources to understand.
    This one helped with my understanding 
    Federated Identity for Web Applications and assumed that the general concept could be applied to forms-based identity for non-Federated external users .
    What I have now:
    VS 2012 solution web forms application set to Provider Host with asp.net.identity feature and its required membership tables.
    I can create new users and associate claims to the new user.
    I can log in with a user from the membership tables and it will take me to a default.aspx page.  I have added code to it that displays the claims associated to a user.
    For POC purposes I'd like to retrieve documents that are associated to this user from the default.aspx page.
    This is where I am having trouble understanding:  Is my understand correct?
    Internal users
    since they are internal on the network i am assuming that they would already have access to SharePoint and they would already be configured to what documents that they have available to them.
    Federated external users & Forms authentication external users
    it seems to me that the authentication for external users are separate from SharePoint authentication process.
    changes to the configuration settings are necessary in SharePoint, IIS, web application.
    I believe this is what i read.
    claims processes (e.g. mappings) need to be set up in SharePoint
    as long as external users are authenticated then things are ok b/c they would have claims associated to the user and the configuration in SharePoint takes are of the rest.
    This statement bothers me because I think it's wrong.
    So basically i'm stuck with if my understanding is correct: once a user is authenticated either by federated identity or asp.net.identity authentication that it should go to the provider hosted default.aspx page because the claim is authenticated and means
    that it should have access to it and the SharePoint document library based on some claim property.  I could then write the calls to retrieve from a document library and SharePoint will know based on some claim property that the logged in user can only
    access certain documents.
    It just sounds too good to be true and that i'm missing something in the thought process.
    Thanks in advance for taking the time to read.
    greenwasabi

    Hi GreenWasabi,
    i agree this is an interesting topic to discuss,
    as you can check from the article, you may check this example from the codeplex:http://claimsid.codeplex.com/
    when i thinking regarding this topic, its looks like an environment with multiple of realms,
    from what you understand, its correct that all the authentication is based from the provider, so for example i have a windows live ID and internal ID, then when i login windows live ID, it will be authenticated using windows live ID server.
    here is the example for the webservice:
    http://claimsid.codeplex.com/wikipage?title=Federated%20Identity%20for%20Web%20Services&referringTitle=Home
    as i know, if you using this federated, i am not quite sure that you will need to go to the provider page literally, perhaps you can check this example if we are using azure:
    http://social.technet.microsoft.com/wiki/contents/articles/22309.integrating-windows-live-id-google-and-facebook-accounts-with-sharepoint-2013-white-paper.aspx
    Regards,
    Aries
    Microsoft Online Community Support
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • How to find w3wp.exe for particular web application in share point 2010

    hi,
    Go to command prompt--> Cd\
    C:\>cd Windows
    C:\Windows>cd System32
    C:\Windows\System32>cd inetsrv
      check you web application port no and  find that w3wp.exe WP no:
    Ex:

    Hi,
    Thanks for your sharing.
    cheers,
    Jason
    Jason Guo
    TechNet Community Support

  • Unable to run an exe file from a Servlet

    I am not able to run a Servlet that calls an exe file using the following code. trial.exe is was built from a C program and it is simply a program that creates a text file with some content. I am using Tomcat 6.0 and JDK 1.5 on a Windows XP.
    {color:#000080}try
    Runtime rt=Runtime.getRuntime();
    String[] command = {"C://Tomcat 6.0//webapps//ROOT//WEB-INF//classes//trial.exe"};
    {color}
    {color:#000080}
    Process p = Runtime.getRuntime().exec(command);
    p.waitFor();
    catch(Throwable t)
    // System.out.print(t.getMessage());
    }{color}
    Before running the code on Tomcat I've compiled the code above in a simple java programe and it executed without any problem.
    Then I compiled the code within a servlet. No luck. Then I treid the following options:
    Executed the Tomcat service under the context of a user by specifying a user(Log On option) for the Tomcat service.
    Then with Local System Account, selecting &ldquo;Allow service to interact with desktop&rdquo;.
    this time also, no luck. Can somebody help me on this please ?
    BJJ

    For clarity I am rewriting the last sentences here:
    Then I compiled the above code within a servlet successfully and invoked the servlet from a browser with and without the following settings of Tomcat 6.0.
    1. Executed the Tomcat service under the context of a user by specifying a user (Log On option) for the Tomcat service.
    2. Then with Local System Account, selecting �Allow service to interact with desktop�.
    I was not succeeded with any of the methods mentioned above.

  • Unable to run setup.exe after downloading oracle9i Personal edition

    So that we may better diagnose DOWNLOAD problems, please provide the following information.
    - Server name
    - Filename
    - Date/Time
    - Browser + Version
    IE 5.0
    - O/S + Version
    W2K Professional /SP 2
    - Error Msg
    None

    Today I want to run the programm and my computer says: "This Acction is only valid for installed productions." (translated from german). I tried to download it again (it works) but then asked for the file iTunes.exe. I check the link to the file but he doesn' take. Uninstalling is also not possible!
    Although you're getting a slightly different error message, try the procedure I outline in the following post:
    http://discussions.apple.com/thread.jspa?messageID=9694258&#9694258

  • Unable to  run rwrun.exe

    I have installed 9iDS.902 on win2000 professional,the install seem OK, but I failed to run report using command line.I typed the command in dos prompt, but got no response,the cursor just went to next line:
    F:\9iDS\bin>rwrun module=prize.rep destype=preview
    F:\9iDS\bin>
    any Idea?
    thanks in advance.

    Hi Ray,
    In 9i, the rwrun executable no longer has a GUI interface so actually, you should have gotten an error when you tried to run that command. Rwrun now acts like rwclient and starts up an in-process server. You can still use rwrun at the command line with batch=yes. If you want to use the preview, run the report through the Builder. You might want to take a look at the Obsolescence white paper on otn.
    Cheers, Toby

Maybe you are looking for

  • A text with strings from query - how???

    There is on-demand process, that return text to text-area element. DECLARE LIST_OF_APP varchar2(32000) := ''; BEGIN BEGIN FOR i IN (SELECT TITLE, TIMEOFCHECK FROM ACTIVEWINDOWSOFUSERS WHERE NUMBEROFPROCCESS=:STATE_SR AND MYUSER=:USERID_SR ) loop LIST

  • Merging Multifocal Photo Sets

      I have misplaced notes I took on how to merge a series of macro images into one fully in focus image.  I've looked around and haven't found that tecnique addressed elsewhere.  Probably for the lack of the right search terms.   Help?

  • Bring Back Marketplace Reward Points & Reimburse Back Points.

    I have to say, that I am really upset with Best Buy with them changing their status of NOT getting rewarded for ordering item thru Marketplace. I have ALWAYS order items thru best buy and thru Marketplace, NOw we don't get rewarded for ordering items

  • Minimum 9i install for PDA development

    To all. I am trying to figure out what the minimum set of installed components I need to manage a database on a workstation and migrate data via Oracle conduits (?) to/from a PDA. What moving parts are required? Thanks in advance for any help

  • WG: Integrating an SCM within Forte

    Hello, we have implemented an integration of PVCS in Forte. A Forte Consultant did this for us. You can use hooks which are provided by Forte when integrating into the forte repository. At this point you can export the workspace and put the exported