Site Studio Publishing Utility fails with HTTP rsponse 403 for URL
Just installed Publisher with Subscription Client. The two pieces seem to work together until I start a replication. Then I get the following a number of times and it stops.
[1]IOException: Server returned HTTP response code: 403 for URL: http://localhost:9180/MTKRSite/groups/public/documents/web_content/002310.htm http://localhost:9180/MTKRSite/groups/public/documents/web_content/002310.htm
It the Publisher is trying to get content item 002310 there isn't one there.
In the Publisher directory offers I see the web site but no content.
I am really confused because I cannot figure out why it would try to get content 002310.
Thanks for any help.
Art
The problem is now solved. For those that are using the product here is a hint of where to look.
In the Oracle Site Studio Publishing Utility\offers\31 directory there is a file urlmap.txt. urlmap.txt has all the URL's that are going to be retrieved. If the publishing utility cannot get a file then look into this file and see why it is trying to retrieve it. If necessary a filterset that excludes the missing file can be coded in the sitestudo.config file.
Similar Messages
-
Site Studio Publishing Utility installation problem
Hi,
I have been having a problem installing site studio publishing utility I am using Oracle database, and I have successfully run the script called "syn_server.oracle8.sql" that came with SSPU and edited "cns.oracle.sql" with the correct database information.
However, when I start the publishing utility (by running "cns.oracle.sh"), I get this exception. It says that the database was created for an "earlier version of Oracle site studio publishiing utility". I have tried to search for a solution, but in vain.
Does anyone know what this is?
Note: The output is included at the end of the post.
Thanks in Advance.
Ayman
[Nov 27 06:50:42] INFO: syndicator: Loaded config file /export/home/asset/SSPU/cns.oracle.config
[Nov 27 06:50:42] INFO: syndicator: Starting Oracle Site Studio Publishing Utility v10.1.3.3.0 on 10.0.2.15 [08:00:27:5c:22:56]
java.sql.SQLException: ORA-02291: integrity constraint (SSPU.FK_PERMISSION1) violated - parent key not found
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:582)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1986)
at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1144)
at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2152)
at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:2035)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2876)
at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:878)
at SiCloneSyndicator.SINDatabase.executeUpdateEx(SINDatabase.java:664)
at SiCloneSyndicator.SINDatabase.executeUpdateEx(SINDatabase.java:631)
at SiCloneSyndicator.SINDatabase.upgradeDatabaseSchema(SINDatabase.java:242)
at SiCloneSyndicator.SINDatabase.open(SINDatabase.java:188)
at SiCloneSyndicator.SiCloneSyndicatorApp.init(SiCloneSyndicatorApp.java:361)
at SiCloneSyndicator.SiCloneSyndicatorApp.createServer(SiCloneSyndicatorApp.java:97)
at bootstrap.ServerStart.main(ServerStart.java:105)
[Nov 27 06:50:44] WARNING: database: First Chance SQL Exception (INSERT INTO SINPermission(RoleID,ResourceOperationID,Scope) VALUES(-1, 29, 3)):[com.bitmechanic.sql.PooledConnection@16c79d7] exception:
java.sql.SQLException: ORA-02291: integrity constraint (SSPU.FK_PERMISSION1) violated - parent key not found
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:582)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1986)
at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1144)
at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2152)
at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:2035)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2876)
at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:878)
at SiCloneSyndicator.SINDatabase.executeUpdateEx(SINDatabase.java:664)
at SiCloneSyndicator.SINDatabase.executeUpdateEx(SINDatabase.java:631)
at SiCloneSyndicator.SINDatabase.upgradeDatabaseSchema(SINDatabase.java:242)
at SiCloneSyndicator.SINDatabase.open(SINDatabase.java:188)
at SiCloneSyndicator.SiCloneSyndicatorApp.init(SiCloneSyndicatorApp.java:361)
at SiCloneSyndicator.SiCloneSyndicatorApp.createServer(SiCloneSyndicatorApp.java:97)
at bootstrap.ServerStart.main(ServerStart.java:105)
java.sql.SQLException: ORA-02291: integrity constraint (SSPU.FK_PERMISSION1) violated - parent key not found
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:582)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1986)
at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1144)
at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2152)
at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:2035)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2876)
at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:878)
at SiCloneSyndicator.SINDatabase.executeUpdateEx(SINDatabase.java:664)
at SiCloneSyndicator.SINDatabase.executeUpdateEx(SINDatabase.java:631)
at SiCloneSyndicator.SINDatabase.upgradeDatabaseSchema(SINDatabase.java:242)
at SiCloneSyndicator.SINDatabase.open(SINDatabase.java:188)
at SiCloneSyndicator.SiCloneSyndicatorApp.init(SiCloneSyndicatorApp.java:361)
at SiCloneSyndicator.SiCloneSyndicatorApp.createServer(SiCloneSyndicatorApp.java:97)
at bootstrap.ServerStart.main(ServerStart.java:105)
[Nov 27 06:50:45] WARNING: database: First Chance SQL Exception (INSERT INTO SINPermission(RoleID,ResourceOperationID,Scope) VALUES(-1, 29, 3)):[com.bitmechanic.sql.PooledConnection@12bcd4b] exception:
java.sql.SQLException: ORA-02291: integrity constraint (SSPU.FK_PERMISSION1) violated - parent key not found
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:582)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1986)
at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1144)
at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2152)
at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:2035)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2876)
at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:878)
at SiCloneSyndicator.SINDatabase.executeUpdateEx(SINDatabase.java:664)
at SiCloneSyndicator.SINDatabase.executeUpdateEx(SINDatabase.java:631)
at SiCloneSyndicator.SINDatabase.upgradeDatabaseSchema(SINDatabase.java:242)
at SiCloneSyndicator.SINDatabase.open(SINDatabase.java:188)
at SiCloneSyndicator.SiCloneSyndicatorApp.init(SiCloneSyndicatorApp.java:361)
at SiCloneSyndicator.SiCloneSyndicatorApp.createServer(SiCloneSyndicatorApp.java:97)
at bootstrap.ServerStart.main(ServerStart.java:105)
java.sql.SQLException: ORA-02291: integrity constraint (SSPU.FK_PERMISSION1) violated - parent key not found
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:582)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1986)
at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1144)
at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2152)
at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:2035)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2876)
at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:878)
at SiCloneSyndicator.SINDatabase.executeUpdateEx(SINDatabase.java:664)
at SiCloneSyndicator.SINDatabase.executeUpdateEx(SINDatabase.java:631)
at SiCloneSyndicator.SINDatabase.upgradeDatabaseSchema(SINDatabase.java:242)
at SiCloneSyndicator.SINDatabase.open(SINDatabase.java:188)
at SiCloneSyndicator.SiCloneSyndicatorApp.init(SiCloneSyndicatorApp.java:361)
at SiCloneSyndicator.SiCloneSyndicatorApp.createServer(SiCloneSyndicatorApp.java:97)
at bootstrap.ServerStart.main(ServerStart.java:105)
[Nov 27 06:50:47] WARNING: database: First Chance SQL Exception (INSERT INTO SINPermission(RoleID,ResourceOperationID,Scope) VALUES(-1, 29, 3)):[com.bitmechanic.sql.PooledConnection@cf66b] exception:
java.sql.SQLException: ORA-02291: integrity constraint (SSPU.FK_PERMISSION1) violated - parent key not found
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:582)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1986)
at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1144)
at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2152)
at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:2035)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2876)
at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:878)
at SiCloneSyndicator.SINDatabase.executeUpdateEx(SINDatabase.java:664)
at SiCloneSyndicator.SINDatabase.executeUpdateEx(SINDatabase.java:631)
at SiCloneSyndicator.SINDatabase.upgradeDatabaseSchema(SINDatabase.java:242)
at SiCloneSyndicator.SINDatabase.open(SINDatabase.java:188)
at SiCloneSyndicator.SiCloneSyndicatorApp.init(SiCloneSyndicatorApp.java:361)
at SiCloneSyndicator.SiCloneSyndicatorApp.createServer(SiCloneSyndicatorApp.java:97)
at bootstrap.ServerStart.main(ServerStart.java:105)
[Nov 27 06:50:48] ERROR: database: Retry count exceeded. Update Failed. (INSERT INTO SINPermission(RoleID,ResourceOperationID,Scope) VALUES(-1, 29, 3)):[null]
[Nov 27 06:50:48] ERROR: database: Error upgrading database schema exception:
com.kinecta.util.KException: ORA-02291: integrity constraint (SSPU.FK_PERMISSION1) violated - parent key not found
; nested exception is:
java.sql.SQLException: ORA-02291: integrity constraint (SSPU.FK_PERMISSION1) violated - parent key not found
at SiCloneSyndicator.SINDatabase.executeUpdateEx(SINDatabase.java:703)
at SiCloneSyndicator.SINDatabase.executeUpdateEx(SINDatabase.java:631)
at SiCloneSyndicator.SINDatabase.upgradeDatabaseSchema(SINDatabase.java:242)
at SiCloneSyndicator.SINDatabase.open(SINDatabase.java:188)
at SiCloneSyndicator.SiCloneSyndicatorApp.init(SiCloneSyndicatorApp.java:361)
at SiCloneSyndicator.SiCloneSyndicatorApp.createServer(SiCloneSyndicatorApp.java:97)
at bootstrap.ServerStart.main(ServerStart.java:105)
Caused by: java.sql.SQLException: ORA-02291: integrity constraint (SSPU.FK_PERMISSION1) violated - parent key not found
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:582)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1986)
at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1144)
at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2152)
at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:2035)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2876)
at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:878)
at SiCloneSyndicator.SINDatabase.executeUpdateEx(SINDatabase.java:664)
... 6 more
[Nov 27 06:50:48] CRITICAL: database: This database was created for an earlier version of Oracle Site Studio Publishing Utility. Please upgrade the database. Current schema version is: 33. Minimum schema version is 34.
[Nov 27 06:50:48] CRITICAL: syndicator: failed to open the database
[Nov 27 06:50:48] CRITICAL: syndicator: Shutting down on critical error exception:
com.kinecta.util.KException: failed to open the database
at SiCloneSyndicator.SiCloneSyndicatorApp.init(SiCloneSyndicatorApp.java:364)
at SiCloneSyndicator.SiCloneSyndicatorApp.createServer(SiCloneSyndicatorApp.java:97)
at bootstrap.ServerStart.main(ServerStart.java:105)
[Nov 27 06:50:48] INFO: syndicator: Stopping Extensions...
[Nov 27 06:50:48] INFO: syndicator: Stopping Administration Server...
[Nov 27 06:50:48] INFO: syndicator: Stopping Master Server...
[Nov 27 06:50:48] INFO: syndicator: Stopping Content Server...
[Nov 27 06:50:48] INFO: syndicator: Stopping ICE Server...
[Nov 27 06:50:48] INFO: syndicator: Saving Config File...
[Nov 27 06:50:48] INFO: syndicator: Stopping Logging...
[Nov 27 06:50:49] INFO: syndicator: Closing Database Connections...
[Nov 27 06:50:49] INFO: syndicator: Syndicator Shutdown Complete
[Nov 27 06:50:49] INFO: syndicator: Saving Config File...
[Nov 27 06:50:49] INFO: syndicator: Stopping Logging...
[Nov 27 06:50:49] INFO: syndicator: Closing Database Connections...
[Nov 27 06:50:49] INFO: syndicator: Syndicator Shutdown CompleteHi Ayman ,
On your db login as administrator user (if it is oracle then "sys" user) and execute the following sql command :
grant create sequence to user <user name> ;
place the user name that is created for SSPU to connect with the DB .
After that execute syn_server.oracle8.sql again and then start SSPU , this issue should be done away with then.
Let me know how this goes .
Thanks
Srinath -
Site Studio Publishing Utility (SSPU) HTML/ZIP?
Hi,
I am in the process of implementing the Site Studio Publishing Utility to publish a site to an FTP target.
I had assumed that the site would be published as HTML files as the documentation suggests... however it is infact publishing a zip file.
Is there anyway to get the SSPU to publish the HTML and associated files directly? I want to prevent the need for the files to be extracted (whether manually or automated).
ThanksYou only need to install the Subscription Client on the target server, and it will unzip the HTML to the correct places.
-
Site Studio publisher utility error
Hi,
I am a bit new to UCM. I am trying to publish a site created using site-studio. For this, from what i inferred from the documentations, was to use the site-studio publishing utility. So to run the utility, i try and run the cns.oracle bat file on my windows machine. I have made the appropriate changes in the cns.oracle config file. Now when i run the batch file i get a java.sqlexception: table or view doesnt exist.
Can anybody guide me on this or am i missing something. I went throught the installation docs and it say i need to create the required tables using the syn_server.oracle8.sql. But i cannot find any sql file named so in the place where my content server is installed.
Thanks in advanceHi
I downloaded the Site Studio Publishing Utility 10gR3 today from the Oracle website. It has two folders SiteStudioPublishingUtility and SubscriptionClient. These both folders have conf, lib, unix, win32. But sql directory folder is not there.
Anybody has any idea about it.
Regards -
Site Studio Publishing Utility (On-Demand Publishing)
Hello,
We are currently evaluating the Oracle / Stellent product Suite. One thing we thing is immediate publishing of static content (for time-sensitive information, earnings releases, etc). Is it possible to setup a job on the SSPU to publish certain content immediately? Rather than waiting for the entire site-crawl to see the changes? It's not something we can plan around, as we only receive some content a few minutes before it needs to be live.
Any ideas welcome.
Thanks,
DaveGratefully received... thank you!
I've taken a quick scan, and first impression is that it would be good to be able to specify the section to INCLUDE rather than those to EXCLUDE as I can see this will potentially need to be modified as sections are added to the website.
I shall look into it in more detail however, but on the face of it this will work for us (I didn't want to create a new project with a single page).
Thanks again. -
Site studio publishing utility
HI!
I have a site developed in sitestudio and I want to make an offline version of it using sspu...thing is the site has, besides its default look, another one which is accessible if i put in the url some specific parameter. I want sspu to get me this look of the site(with the parameter).
My question is: is it possible to pass some extra parameters to the sspu so that it gets the site but considering those parameters - which influence the look of the site, so in the end it will get me that specific look of the site ?
Any hint will be greatly appreciated !
Regards,
VladHi,
Thanks for answering. Could you elaborate a bit on the metalink thing, I'm new to this and I'm not sure how to use it ? Maybe a link to some documentation or sth...
regards,
Vlad -
The request failed with HTTP status 404: Not Found
Hi
BPC version we are using is : 5.0.502
When we Publish all reports using the steps below:
a. Log into BPC Web
b. Click on Available Interfaces> Select BPC for Administration
c. Under Web Admin Task Click Publish Reports
d. Select all of the reports and click the green check mark to publish the
reports.
I am getting following message 'System.Exception: The request failed with HTTP Status 404: Not Found. Event log relation to this error is given below.
Event Type: Error
Event Source: OutlookSoft log
Event Category: None
Event ID: 0
Date: 12/8/2008
Time: 11:26:42 AM
User: N/A
Computer: BPCAPP
Description:
==============[System Error Tracing]==============
[System Name] : OSoftCPM
[Message Type] : ErrorMessage
[Job Name] : AuditMgrService/SetAuditReportFiles
[DateTime] : 12/8/2008 11:26:42 AM
[UserId] : MMPlanning
[Exception]
DetailMsg : {The request failed with HTTP status 404: Not Found.}
==============[System Error Tracing End ]==============
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.
We tried ' Publish all reports' as the resolution of error 'object variable or with block variable not set' on modifying an application as per sap note Note 1131320
If anyone knows the resolution for the above issue, please help me.
Thanks in advance
Sajeev AbrahamHi
Thanks for the response.
Below are the full contents of the error message pop-up.
( System.Expection: the reguest failed with HTTP status 404:Not found at
Microsoft.Visualbasic.CompierServices.lateBinding.LateGet(Object o, Type,String name, Object
[]args,sTRING[]paramnames, Boolen[]CopyBack)
at OSoft.Services.WebServices.ReportmanageProxy.ReportManageProxy.SetPubishReport(String strAppSet,string
strApp,string strFiter)
url is given below
http://<HostName>/osoft/Admin/WebAdminMain.aspx
BPC Deployment is Multiple server ( Two servers) Database and Application deployed seperately.
Sql Reporting server is working.. I could connect using sql management studio.
Thanks -
Site Studio Publisher and WebURLMaps
I'm attempting to create a static copy of a Site Studio site using the SS Publisher. I've noticed that links/urls that are built using WebURLMaps on the dynamic site aren't publishing to my static location. Is this something that isn't possible? If it is, which configurations in my Site Studio Publisher Task might I have configured incorrectly? I've tried including the webmapurl directory in my Include List and things of that nature but haven't had success making it work. Ideas?
No, unless I am misunderstanding.
Site Studio Publisher is specifically designed to work with Site Studio websites.
What do you mean by non Site Studio website?
Jonathan
http://jonathanhult.com -
Hi all,
knowning that there are already a lot of posts concerning above message, I have to write an additional one as I could not find a solution on the web yet.
Situation:
Windows Server 2008 forest including empty root and two child domains, one child domain does have SCCM SP1 (central primary site WND) installed on W2k8 x64 machine including WSUS 3.0 SP1 => everything is working fine.
Second child domain also contains a SCCM SP1 server (primary site HUN) running on W2k8 x64 and is defined as child site of central site WND => everything is working fine too - except Software Updates.
WSUS 3.0 SP1 installed on both SCCM servers by creating additional web site (not using "defautl web site") and configured ports 8530 and 8531 (SSL not used!). No proxy necessary/used. All WSUS 3.0 requirements for W2k8 are installed (IIS roles)
Error:
SMS_WSUS_CONFIGURATION_MANAGER - MessageID 6600:
SMS WSUS Configuration Manager failed to configure upstream server settings on WSUS Server "xxxx0003".
Possible cause: WSUS Server version 3.0 SP1 and above is not installed or cannot be contacted.
Solution: Verify that the WSUS Server version 3.0 SP1 or greater is installed. Verify that the IIS ports configured in SMS are same as those configured on the WSUS IIS website.
wsusutil checkhealth =>OK
downloading updates from WSUS at central site (SUSDB and WSUS folder equal in size) =>OK
wsus admin console able to connect and configuration possible => OK
IIS ports configured within SMS are equal to those configured for WSUS website
SCCM config (using Configuration Manager Console) does look correct - ConfigMgr Software Update Point role properties and Software Update Point Component properties
wcm.log does report an error: (SCCM Log files at the end.)
"The request failed with HTTP status 503: Service Unavailable"
IIS log files of both websites (default web site and WSUS Administration website) do not show any errors.
Questions:
What else should I look at? (registyr, SUSDB content,..)
What exactly does happen during the attempt to configure the upstream server by the SMS_WSUS_Configuration_Manager component? I guess a SMS process tries to contact a webservice - would it be possible to debug in more detail ?
And finally - Who does know the solution ?
wcm.log:
Found WSUS Admin dll of assembly version Microsoft.UpdateServices.Administration, Version=3.0.6000.273, Major Version = 0x30000, Minor Version = 0x17700111 SMS_WSUS_CONFIGURATION_MANAGER 16.07.2008 12:49:47 4468 (0x1174)
Found WSUS Admin dll of assembly version Microsoft.UpdateServices.Administration, Version=3.1.6001.1, Major Version = 0x30001, Minor Version = 0x17710001 SMS_WSUS_CONFIGURATION_MANAGER 16.07.2008 12:49:47 4468 (0x1174)
The installed WSUS build has the valid and supported WSUS Administration DLL assembly version (3.1.6001.65) SMS_WSUS_CONFIGURATION_MANAGER 16.07.2008 12:49:47 4468 (0x1174)
System.Net.WebException: The request failed with HTTP status 503: Service Unavailable.~~ at Microsoft.UpdateServices.Administration.AdminProxy.CreateUpdateServer(Object[] args)~~ at Microsoft.UpdateServices.Administration.AdminProxy.GetUpdateServer(String serverName, Boolean useSecureConnection, Int32 portNumber)~~ at Microsoft.SystemsManagementServer.WSUS.WSUSServer.ConnectToWSUSServer(String ServerName, Boolean UseSSL, Int32 PortNumber) SMS_WSUS_CONFIGURATION_MANAGER 16.07.2008 12:49:47 4468 (0x1174)
Remote configuration failed on WSUS Server. SMS_WSUS_CONFIGURATION_MANAGER 16.07.2008 12:49:47 4468 (0x1174)
STATMSG: ID=6600 SEV=E LEV=M SOURCE="SMS Server" COMP="SMS_WSUS_CONFIGURATION_MANAGER" SYS=xxxx0003 SITE=HUN PID=2424 TID=4468 GMTDATE=Mi Jul 16 10:49:47.758 2008 ISTR0="xxxx0003" ISTR1="" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=0 SMS_WSUS_CONFIGURATION_MANAGER 16.07.2008 12:49:47 4468 (0x1174)
Waiting for changes for 59 minutes SMS_WSUS_CONFIGURATION_MANAGER 16.07.2008 12:49:47 4468 (0x1174)
wsusctrl.log (looks fine to me - is able to connect to local WSUS !):
SMS_EXECUTIVE started SMS_WSUS_CONTROL_MANAGER as thread ID 6156 (0x180C). SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:01 2732 (0x0AAC)
This is a WSUS Role as WSUS registry key exists. SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:01 6156 (0x180C)
Found WSUS Admin dll of assembly version Microsoft.UpdateServices.Administration, Version=3.0.6000.273, Major Version = 0x30000, Minor Version = 0x17700111 SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:01 6156 (0x180C)
Found WSUS Admin dll of assembly version Microsoft.UpdateServices.Administration, Version=3.1.6001.1, Major Version = 0x30001, Minor Version = 0x17710001 SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:01 6156 (0x180C)
The installed WSUS build has the valid and supported WSUS Administration DLL assembly version (3.1.6001.65) SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:01 6156 (0x180C)
Successfully connected to local WSUS server SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:01 6156 (0x180C)
Local WSUS Server Proxy settings are correctly configured as Proxy Name and Proxy Port 80 SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:01 6156 (0x180C)
Waiting for changes for 0 minutes SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:01 6156 (0x180C)
Timed Out... SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:01 6156 (0x180C)
Found WSUS Admin dll of assembly version Microsoft.UpdateServices.Administration, Version=3.0.6000.273, Major Version = 0x30000, Minor Version = 0x17700111 SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:01 6156 (0x180C)
Found WSUS Admin dll of assembly version Microsoft.UpdateServices.Administration, Version=3.1.6001.1, Major Version = 0x30001, Minor Version = 0x17710001 SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:01 6156 (0x180C)
The installed WSUS build has the valid and supported WSUS Administration DLL assembly version (3.1.6001.65) SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:01 6156 (0x180C)
Successfully connected to local WSUS server SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:01 6156 (0x180C)
Local WSUS Server Proxy settings are correctly configured as Proxy Name and Proxy Port 80 SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:01 6156 (0x180C)
Successfully connected to local WSUS server SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:01 6156 (0x180C)
There are no unhealthy WSUS Server components on WSUS Server xxxx0003 SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:01 6156 (0x180C)
Successfully checked database connection on WSUS server xxxx0003 SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:02 6156 (0x180C)
Waiting for changes for 57 minutes SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:02 6156 (0x180C)
wsyncmgr.log (as a result of being not able to configure upstream server I guess):
STATMSG: ID=6701 SEV=I LEV=M SOURCE="SMS Server" COMP="SMS_WSUS_SYNC_MANAGER" SYS=xxxx0003 SITE=HUN PID=2424 TID=4476 GMTDATE=Mi Jul 16 10:03:51.481 2008 ISTR0="" ISTR1="" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=0 SMS_WSUS_SYNC_MANAGER 16.07.2008 12:03:51 4476 (0x117C)
Sync failed: WSUS server not configured. Source: CWSyncMgr:oSync SMS_WSUS_SYNC_MANAGER 16.07.2008 12:08:51 4476 (0x117C)
STATMSG: ID=6703 SEV=E LEV=M SOURCE="SMS Server" COMP="SMS_WSUS_SYNC_MANAGER" SYS=xxxx0003 SITE=HUN PID=2424 TID=4476 GMTDATE=Mi Jul 16 10:08:51.636 2008 ISTR0="CWSyncMgr:oSync" ISTR1="WSUS server not configured" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=0 SMS_WSUS_SYNC_MANAGER 16.07.2008 12:08:51 4476 (0x117C)I just experienced the exact same scenario. After much digging I found that csakg6so posted a fix at
Windoows-Noob
Run Internet Explorer as the SYSTEM account (psexec -s -d -i cmd.exe & C:\Program Files\Internet Explorrer\iexplore.exe)
Go to internet options
Go to conections
Go to LAN settings
Uncheck all boxes
The original post said to reboot, but that wasn't necessary for me.
After initiating a manual Software Update sync the WCM.log and WSyncMgr.log errors do not return and new updates are synchronized. -
"The request failed with HTTP status 401: Unauthorized"
Hi,
I'm trying to get both RSS feeds and SSRS reports on a web application which is having NTLM authentication without Kerberos. The catch is proxy setting, if I give <proxy autoDetect="false" /> in web.config of my sharepoint web
application SSRS reports will be rendered in SQL Server Report viewer perfectly (I deploy using BIDS), but RSS viewer webpart will not display my internet feeds. If I give
<proxy autoDetect="true" /> RSS feeds are displayed properly but SSRS report will throw the following error.
The request failed with HTTP status 401: Unauthorized.
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.Net.WebException: The request failed with HTTP status 401: Unauthorized.
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:
[WebException: The request failed with HTTP status 401: Unauthorized.]
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) +412862
System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +300
Microsoft.SqlServer.ReportingServices2005.Execution.ReportExecutionService.ListRenderingExtensions() +53
Microsoft.SqlServer.ReportingServices2005.Execution.RSExecutionConnection.ListRenderingExtensions() +207
Microsoft.Reporting.WebForms.ServerReport.ListRenderingExtensions() +130
Microsoft.ReportingServices.SharePoint.UI.WebParts.ActionMenu.OnPreRender(EventArgs e) +180
System.Web.UI.Control.PreRenderRecursiveInternal() +108
System.Web.UI.Control.PreRenderRecursiveInternal() +224
System.Web.UI.Control.PreRenderRecursiveInternal() +224
System.Web.UI.Control.PreRenderRecursiveInternal() +224
System.Web.UI.Control.PreRenderRecursiveInternal() +224
System.Web.UI.Control.PreRenderRecursiveInternal() +224
System.Web.UI.Control.PreRenderRecursiveInternal() +224
System.Web.UI.Control.PreRenderRecursiveInternal() +224
System.Web.UI.Control.PreRenderRecursiveInternal() +224
System.Web.UI.Control.PreRenderRecursiveInternal() +224
System.Web.UI.Control.PreRenderRecursiveInternal() +224
System.Web.UI.Control.PreRenderRecursiveInternal() +224
System.Web.UI.Control.PreRenderRecursiveInternal() +224
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3394
I tried to work around this by adding proxy settings with bypass list.
<system.net>
<defaultProxy useDefaultCredentials="true">
<proxy proxyaddress="http://<proxy IP address>:<port>" bypassonlocal="true" usesystemdefault="true" />
<bypasslist>
<add address="<my report server>" />
<add address="http://<report server>:8080/reportserver/" />
<add address="<IP of my report server>" />
</bypasslist>
</defaultProxy>
</system.net>
This makes RSS feed to work but SSRS throw the above error. I would need some advice from Microsoft on how to fix this.
Note: My sharepoint site cannot be anonymous. I have just once service account that runs sql server service, report service, sharepoint services etc. This account is local admin on all servers, has highest access on sql box, run SSRS web service and app
pools, etc.
I have four servers, 2 WFE in windows load balanced, 1 app server (running Central admin and report service in sharepoint integrated mode), 1 db server hosting all content and config dbs and report server db.
Regards,
Manoj
Version Information: Microsoft .NET Framework Version:2.0.50727.3615; ASP.NET Version:2.0.50727.3618Hi,
Thanks to share your post.
For the issue,
do you mean that the error happen with the use of NTLM authentication without Kerberos? If yes, the possible cause should be the lacking of Kerberos.
My suggestion is to implement the Kerberos authentication in your environment. You may check it and test it. For the detailed steps of implementing of the Kerberos:
http://blogs.msdn.com/b/martinkearn/archive/2007/04/23/configuring-kerberos-for-sharepoint-2007-part-1-base-configuration-for-sharepoint.aspx.
http://blogs.msdn.com/b/james_world/archive/2007/08/20/essential-guide-to-kerberos-in-sharepoint.aspx.
Hope this could help you!
Leo -
'System.Exception: The request failed with HTTP Status 404
Hi
BPC version we are using is : 5.0.502
When we Publish all reports using the steps below:
a. Log into BPC Web
b. Click on Available Interfaces> Select BPC for Administration
c. Under Web Admin Task Click Publish Reports
d. Select all of the reports and click the green check mark to publish the
reports.
I am getting following message 'System.Exception: The request failed with HTTP Status 404: Not Found. Below are the event log relation to this error.
Event Type: Error
Event Source: OutlookSoft log
Event Category: None
Event ID: 0
Date: 12/8/2008
Time: 11:26:42 AM
User: N/A
Computer: BPCAPP
Description:
==============[System Error Tracing]==============
[System Name] : OSoftCPM
[Message Type] : ErrorMessage
[Job Name] : AuditMgrService/SetAuditReportFiles
[DateTime] : 12/8/2008 11:26:42 AM
[UserId] : MMPlanning
[Exception]
DetailMsg : {The request failed with HTTP status 404: Not Found.}
==============[System Error Tracing End ]==============
We tried ' Publish all reports' as the resolution of error 'object variable or with block variable not set' on modifying an application as per sap note Note 1131320
If anyone knows the resolution for the above issue, please help me.
Thanks in advance
Sajeev AbrahamHi,
This forum is for BI Integrated planning an BW/SEM BPS. For BPC related questions please post this message in the forum for Enterprise Performance Management (Enterprise Performance Management (SAP EPM)).
Best regards,
Gerd Schoeffl,
SAP NetWeaver RIG BI -
"The request failed with HTTP Status 400: Bad Request." when running reports
Hi,
I installed reporting services and the install went fine. The Reporting Services are located on a different server. I can see all the reports in SCCM but when I try to run them I get the "400" error with the following details:
System.Net.WebException
The request failed with HTTP status 400: Bad Request.
Stack Trace:
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Microsoft.Reporting.WinForms.Internal.Soap.ReportingServices2005.Execution.ReportExecutionService.LoadReport2(String Report, String HistoryID)
at Microsoft.Reporting.WinForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.<>c__DisplayClass2.<LoadReport>b__0()
at Microsoft.Reporting.WinForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.ProxyMethodInvocation.Execute[TReturn](RSExecutionConnection connection, ProxyMethod`1 initialMethod, ProxyMethod`1 retryMethod)
at Microsoft.Reporting.WinForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.LoadReport(String Report, String HistoryID)
at Microsoft.Reporting.WinForms.ServerReport.EnsureExecutionSession()
at Microsoft.Reporting.WinForms.ServerReport.SetParameters(IEnumerable`1 parameters)
at Microsoft.ConfigurationManagement.AdminConsole.SrsReporting.ReportViewerWindowsForms.SetParameterValues_DoWork(Object sender, DoWorkEventArgs e)
I can open the URL from the SCCM server but when I select a report I am unable to select any report options if available. If no options are availble the report just doesn't run, I don't get and error if I select "View Report" mutiple
times.
If I connect to the Reporting Services site on the computer where it is installed all the reports run fine.
One thing I have noticed is that when I try to change or add a role assignment for Reporting Services the edited account always reverts back to the default settings and the added Domain user is dropped.
ThanksI reviewed the topic and found a couple of steps I missed the first time around. I had to "Configure Reports to Use Report Builder 3.0 and setting the "Log on Locally" permission.
I then uninstalled the role and reinstalled it. I am still getting the 400 error.
When I inspected the SmsAdminUI.log I noticed the Error on the last line 2151811598 (it repeats in the log). I couldn't find anything specific related to it. By reading a few "related" Internet posts I came accross a intial setup
blog that noted some WMI firewall execptions (Async-in, DCOM-in and WMI-in) as require so I checked and they were not allowed on the SCCM server so I allowed them and tested with the same result. I turned them off again.
Here is the tail end of the SmsAdminUI.log
[19, PID:2684][01/24/2013 16:08:29] :[ReportProxy] - User-specified default Reporting Point [INC-SQL42.deccoinc.net] could not be found, [] is now the default Reporting Point.
[4, PID:2684][01/24/2013 16:08:30] :[ReportProxy] - User-specified default Reporting Point [INC-SQL42.deccoinc.net] could not be found, [] is now the default Reporting Point.
[15, PID:2684][01/24/2013 16:08:30] :[ReportProxy] - User-specified default Reporting Point [INC-SQL42.deccoinc.net] could not be found, [] is now the default Reporting Point.
[1, PID:2684][01/24/2013 19:06:02] :System.Management.ManagementException\r\nNot found \r\n at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
at System.Management.ManagementObject.Initialize(Boolean getObject)
at System.Management.ManagementBaseObject.get_wbemObject()
at System.Management.PropertyData.RefreshPropertyInfo()
at System.Management.PropertyDataCollection.get_Item(String propertyName)
at System.Management.ManagementBaseObject.GetPropertyValue(String propertyName)
at System.Management.ManagementBaseObject.get_Item(String propertyName)
at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.GetInstance(String objectPath)\r\nManagementException details:
instance of SMS_ExtendedStatus
Description = "Error retrieving object FileType=2";
ErrorCode = 2151811598;
File = "e:\\nts_sccm_release\\sms\\siteserver\\sdk_provider\\smsprov\\SspInterface.h";
Line = 1208;
Operation = "GetObject";
ParameterInfo = "SMS_SCI_SysResUse.FileType=2,ItemName=\"[\\\"Display=\\\\\\\\INC-SQL42.deccoinc.net\\\\\\\"]MSWNET:[\\\"SMS_SITE=INC\\\"]\\\\\\\\INC-SQL42.deccoinc.net\\\\,SMS SRS Reporting Point\",ItemType=\"System Resource Usage\",SiteCode=\"INC\"";
ProviderName = "ExtnProv";
StatusCode = 2147749890;
\r\n
[1, PID:2684][01/24/2013 23:39:14] :System.NullReferenceException\r\nObject reference not set to an instance of an object.\r\n at Microsoft.ConfigurationManagement.AdminConsole.SmsCustomDialog.get_LocaleIndependentIdentifier()
at Microsoft.ConfigurationManagement.AdminConsole.ShowDialogTaskHandler.DoTask(NavigationModelNodeBase node, SccmTaskConfiguration sccmTask, PropertyDataUpdated dataUpdatedDelegate, Boolean readOnly)\r\n
[1, PID:5008][01/25/2013 20:48:00] :System.Management.ManagementException\r\nNot found \r\n at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
at System.Management.ManagementObject.Initialize(Boolean getObject)
at System.Management.ManagementBaseObject.get_wbemObject()
at System.Management.PropertyData.RefreshPropertyInfo()
at System.Management.PropertyDataCollection.get_Item(String propertyName)
at System.Management.ManagementBaseObject.GetPropertyValue(String propertyName)
at System.Management.ManagementBaseObject.get_Item(String propertyName)
at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.GetInstance(String objectPath)\r\nManagementException details:
instance of SMS_ExtendedStatus
Description = "Error retrieving object FileType=2";
ErrorCode = 2151811598;
File = "e:\\nts_sccm_release\\sms\\siteserver\\sdk_provider\\smsprov\\SspInterface.h";
Line = 1208;
Operation = "GetObject";
ParameterInfo = "SMS_SCI_SysResUse.FileType=2,ItemName=\"[\\\"Display=\\\\\\\\INC-SQL42.deccoinc.net\\\\\\\"]MSWNET:[\\\"SMS_SITE=INC\\\"]\\\\\\\\INC-SQL42.deccoinc.net\\\\,SMS SRS Reporting Point\",ItemType=\"System Resource Usage\",SiteCode=\"INC\"";
ProviderName = "ExtnProv";
StatusCode = 2147749890;
\r\n -
SSRS 2012 - The request failed with HTTP status 401: Unauthorized.
I have SSRS Reporting Services 2012 load balanced on two servers.
Both servers are running Windows Server 2012 R2.
I have a Web Application that renders reports by utilizing this SSRS Reporting Services 2012.
When the application generates a report using load balancing I get error the message, “The request failed with HTTP status 401: Unauthorized.”
However, using only one reporting server, the application is able to render the report just fine.
It seems that when the requests are shared between the servers the problem occurs.
One solution is to configure Load Balancing with “Source IP” persistence.
This seems to work. I believe this is a “sticky” session.
With this Load Balancing configuration, the application can render the report just fine.
(However, I have not done complete testing.)
The problem occurs when calling the service ListChildren(string, bool ) on SSRS.
I have been researching online. I tried modifying the registry on the servers based on online articles (see below.)
Here are some articles I have looked at.
http://msdn.microsoft.com/en-us/library/cc281307(v=sql.110).aspx
http://blogs.msdn.com/b/lukaszp/archive/2008/07/18/reporting-services-http-401-unauthorized-host-headers-require-your-attention.aspx
http://blogs.msdn.com/b/lukaszp/archive/2008/07/18/reporting-services-http-401-unauthorized-host-headers-require-your-attention.aspx
Is there a better solution? Will Load Balancing with “Source IP” persistence be an acceptable solution? Is there a patch needed for the servers or SSRS? Please let me know.Hi GoGladiator,
Generally, "The request failed with HTTP status 401: Unauthorized" occurs when
The service account used to connect to the Report Server is not authorized.
The Reporting Services is configured to use Kerberos, however, we didn't register Service Principal Name (SPN) for the account the Reporting Services is running under.
So, to fix this issue, we can refer to the follow steps:
Make sure the user is able to connect to the Report Server.
If using Kerberos authentication, please make sure SPN is configured correctly. If using Kerberos authentication, please make sure SPN is configured correctly.
For more information about Kerberos Authentication and how to register SPN for a report server in Reporting Services, please see the articles below:
Configure Windows Authentication on the Report Server
Register a Service Principal Name (SPN) for a Report Server
Hope this helps.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
Error http the request failed with http status 401: unauthorized
Hi,<o:p></o:p>
We are currently developing a Web Part for a
dashboard that connects from SharePoint 2010 to Project Server, we are trying
to connect via the PSI web service and fetch the project data but it is giving
the same error "The request failed with HTTP
status 401: Unauthorized". We are having a huge
issue with gaining authorization through the PSI and cannot figure out what the
problem is. We are using Project Server 2010, SharePoint 2010 and Visual Studio
2010.<o:p></o:p>
The person developing this has administrative
rights on both servers and it is running on his account. However, this is his
first experience with Project Server. Could some provide some guidance?<o:p></o:p>
Does anyone have any suggestions?<o:p></o:p>
Thanks,<o:p></o:p>
Aba
<o:p></o:p>Hi,
Have the credentials been set for the web service? Or are you trying to pass the credentials of the user accessing the webpart? In the second case, the user must have permissions in project server
It would be useful if you can share the part of the code that fails
Paul -
The request failed with HTTP status 401: Unauthorized Invoke Webservice
I want Adding a Web reference dynamically at Runtime follow
SecurityPermissionAttribute(SecurityAction.Demand, Unrestricted = true)]
internal static object CallWebService(string webServiceAsmxUrl, string serviceName, string methodName, object[] args)
System.Net.
WebClient client = new System.Net.WebClient();
client.Credentials =
new NetworkCredential("username", "pass");
// Connect To the web service
System.IO.
Stream stream = client.OpenRead(webServiceAsmxUrl + "?wsdl");
// Now read the WSDL file describing a service.
ServiceDescription description = ServiceDescription.Read(stream);
///// LOAD THE DOM /////////
// Initialize a service description importer.
ServiceDescriptionImporter importer = new ServiceDescriptionImporter();
importer.ProtocolName =
"Soap12"; // Use SOAP 1.2.
importer.AddServiceDescription(description,
null, null);
// Generate a proxy client.
importer.Style =
ServiceDescriptionImportStyle.Client;
// Generate properties to represent primitive values.
importer.CodeGenerationOptions = System.Xml.Serialization.
CodeGenerationOptions.GenerateProperties;
// Initialize a Code-DOM tree into which we will import the service.
CodeNamespace nmspace = new CodeNamespace();
CodeCompileUnit unit1 = new CodeCompileUnit();
unit1.Namespaces.Add(nmspace);
// Import the service into the Code-DOM tree. This creates proxy code that uses the service.
ServiceDescriptionImportWarnings warning = importer.Import(nmspace, unit1);
if (warning == 0) // If zero then we are good to go
// Generate the proxy code
CodeDomProvider provider1 = CodeDomProvider.CreateProvider("CSharp");
// Compile the assembly proxy with the appropriate references
string[] assemblyReferences = new string[5] { "System.dll", "System.Web.Services.dll", "System.Web.dll", "System.Xml.dll", "System.Data.dll" };
CompilerParameters parms = new CompilerParameters(assemblyReferences);
CompilerResults results = provider1.CompileAssemblyFromDom(parms, unit1);
// Check For Errors
if (results.Errors.Count > 0)
foreach (CompilerError oops in results.Errors)
System.Diagnostics.
Debug.WriteLine("========Compiler error============");
System.Diagnostics.
Debug.WriteLine(oops.ErrorText);
throw new System.Exception("Compile Error Occured calling webservice. Check Debug ouput window.");
// Finally, Invoke the web service method
object wsvcClass = results.CompiledAssembly.CreateInstance(serviceName);
MethodInfo mi = wsvcClass.GetType().GetMethod(methodName);
return mi.Invoke(wsvcClass, args);
else
return null;
When i call CallWebService method , it is error
The request failed with HTTP status 401: Unauthorized.
Exception Details: System.Net.WebException: The request failed with HTTP status 401: Unauthorized.
Source Error:
Line 1880: MethodInfo mi = wsvcClass.GetType().GetMethod(methodName);
Line 1881:
Line 1882: return mi.Invoke(wsvcClass, args);
Help me solve this problem.
ThanhksThank advance
I tried it, but it till error
Stack Trace:
[WebException: The request failed with HTTP status 401: Unauthorized.]
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) +431201
System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +204
HSCVWS.HelloWorld() +31
[TargetInvocationException: Exception has been thrown by the target of an invocation.]
System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) +0
System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) +71
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) +350
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +29
System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) +19
WsProxy.CallWebService(String webServiceAsmxUrl, String serviceName, String methodName, Object[] args) in d:\ViDu01\ttt.aspx.cs:1882
ttt.Page_Load(Object sender, EventArgs e) in d:\ViDu01\ttt.aspx.cs:27
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
#Software: Microsoft Internet Information Services 6.0
#Version: 1.0
#Date: 2009-06-09 02:43:10
#Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status
2009-06-09 02:43:10 192.168.2.46 GET /_vti_bin/testwebservice.asmx wsdl 80 - 192.168.x.xx - 200 0 0
2009-06-09 02:43:13 192.168.2.46 POST /_vti_bin/testwebservice.asmx - 80 - 192.168.x.xx Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+2.0.50727.3053) 401 5 0
2009-06-09 02:43:16 192.168.2.46 GET /_vti_bin/testwebservice.asmx wsdl 80 - 192.168.x.xx - 200 0 0
2009-06-09 02:43:17 192.168.2.46 POST /_vti_bin/testwebservice.asmx - 80 - 192.168.x.xx Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+2.0.50727.3053) 401 5 0
2009-06-09 02:44:42 192.168.2.46 POST /_vti_bin/testwebservice.asmx - 80 servername\username 192.168.x.xx Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+2.0.50727.3053) 200 0 0
Maybe you are looking for
-
Hello, we have received the question to mail a dunning and save this pdf on a location. Mailing is not a problem (copied FI_OPT_ARCHIVE_DUNNING_NOTICE to a z-variant and adapt it to our needs-, but I don 't see how I can force the system to create al
-
My iPhone 4s was stolen in the Atlanta airport Saturday. I used "Find My iPhone" to locate it, however I need the gps history to show all of it's travels since stolen. Any ideas on how I can get gps history from the phone?
-
Multiple email addresses in Scan to Email
Hi All, I would like to setup multiple email addresses on our scanner at work. I would like to press the scan to email button, and get the scaned page into multiple email accounts. Does anyone know if this is possible, and how to do it. I tryed many
-
server not ofund == URL of affected sites == http://http://noir.bloomberg.com/?b=0
-
Exchange 2010 SP3 Update Rollup 6 breaks first OWA login (timezone selection) on SBS 2011
The Exchange 2010 SP3 Update Rollup 6 broke the OWA for Users who access OWA for the first time and have to set a timezone. They get this error: Request Url: https://xxxxx:443/owa/languageselection.aspx User: xxxxxx EX Address: /o=First Organization/