reporting server error in IE browser - sql

Using server server 2008 r2 and vs08 i use SQL reporting services and i also install iis so when i deploy reports it show me like this
Deploying to http://localhost/ReportServer
Error rsServerConfigurationError : The report server has encountered a configuration error.
Deploy complete -- 1 errors, 0 warnings
========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========
========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========
and when i go to this url http://localhost/ReportServer in IE(Internet Explorer ) then it show me like this in browser
pic IE
where problem occurred and how i resolved this problem
i try so many times to deploy errors but in every time any error must come ..ughh :(

You may want to see if SSRS will resolve 'localhost' correctly. There are a few things to think about deploying to SSRS as well.
You need to be a role under the SSRS site that allows deployment. You can try all day and if your 'Role Assignment' is not 'Publisher' or 'Content Manager' for your domain user/user or applicable group in a domain you will not be able to publish.
SSRS resolves to fully qualified paths and any breaks in names or leaving a report folder blank could potentially cause issues. When you are in Business Intelligence Development Studio(BIDS in Visual Studio), your project's 'properties' must be configured correctly and for the correct version of SSRS you are deploying to.
Check the SSRS Config tool for what it shows the service to be at qualified. Generally it is:
http:// (servername)/ReportServer
NOT
http:// localhost/ReportServer
I wrote up a pretty thorough answer to this on another thread.
How SSRS deployment works?

Did you make any changes to the reporting services config files?
C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportServer
Is ReportManager working ok?
Have you another ReportServer that you can deploy to?
If it deploys elsewhere ok, I would re-install reporting services

I have red that you have IIS and SSRS Server on the same machine. The standard port for both is 80, perhaps it would worth a try to change the port for SSRS to a different value. (Reporting Services Configuration Manager -> Web Service URL -> TCP Port and Report Manager URL -> Advanced -> Edit -> TCP Port)

Related

Unable to Publish SQL Server 2014 database using Web Deploy in VS 2013

Its been quite sometime that I am trying to publish the data base for my website using webdeploy in VS 2013 but I keep getting the following error:
Web deployment task failed. (Could not generate deployment script.
Internal Error. The database platform service with type Microsoft.Data.Tools.Schema.Sql.Sql120DatabaseSchemaProvider is not valid. You must make sure the service is loaded, or you must provide the full type name of a valid database platform service.
I have tried installing the new updates. I am making sure that the local server is running during deployment. I have made sure that I enter the full server name rather than a dot. I have literally done everything that I could think of but to no avail.
Can anyone help me, please?
The issue might be related to VisualStudioVersion environment variable, which needs to be set to VisualStudioVersion=11.0 or VisualStudioVersion=12.0 to support SQL Server 2014. Check this answer, also here is the info how to target the VisualStudioVersion.

Report manager for SSRS 2005 not opening

I have an issue while opening Report Manager for SSRS reports built in BIDS 2005.
Virtual directories named ReportServer and Reports get created on IIS for reportserver and report manager respectively. But when ReportServer directory is browsed in IIS, an error occurs saying:
'An internal error occurred on the report server. See the error log for more details. (rsInternalError) Get Online Help
Object reference not set to an instance of an object'
Tried reading the event log but could not make out anything from it.
I Restarted IIS and then Reporting services, Checked if the user has admin rights and it does have. But still the problem persists.
Please let me know what could be the possible checks....
Note : I am using Windows Server 2003, IIS 6.0 and SQL Server 2005
Try the SSRS log files for more clues, they will be located around here (varies depending on your versions and configurations):
C:\Program Files (x86)\Microsoft SQL Server\MSRS10_50.SQLEXPRESS\Reporting Services\LogFiles
There are some very detailed messages. Open them in a text editor.

How can I publish an MVC 4 application on visual studio?

When I try to publish it I get the following error message:
Error 1 Web deployment task failed. (Could not connect to the remote computer ("..*.*"). On the remote computer, make sure that Web Deploy is installed and that the required process ("Web Management Service") is started. Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_DESTINATION_NOT_REACHABLE.)
I dont understand why is it referring me to a remote computer, I've specified the destination URL as my own IP address. And I have web management service checked on windows features.
How do I solve this particular error?
Try to publish to the file system, if this works move the files into you wwwroot, normally c:\inetpub\www.
then go to start and run inetmgr to open iis configuration manager, if you see your folder there right click and convert to application, accept settings then right click / manage / browse and you should see your site or an IIS error that should be easy to debug.
I never use the deploy to IIS feature from VS as it's pants.
Good luck!

WIndows 2008 R1 suffers recurring 'Error 81' when running diagnostics. Unable to connect to DC

I've a recurring issue on a number of 2008 R1 servers. Replication stops completely, and any attempt to run any AD-related snap-ins or diagnostics fail.
For example:
C:\Windows\system32>dcdiag
Directory Server Diagnosis
Performing initial setup:
Trying to find home server...
Home Server = MYDC
Ldap search capabality attribute search failed on server MYDC, return
value = 81
Other tools also fail in the same manner:
C:\Windows\system32>repadmin /showreps
[d:\rtm\ds\ds\src\util\repadmin\repbind.c, 444] LDAP error 81 (Server Down) Win32 Err 58.
LDP can't connect to the server either:
ld = ldap_open("mydc", 389);
Error <0x51>: Fail to connect to mydc.
There are a couple of event log entries, but frankly I'm not sure if they are a cause or a symptom.
Event 1311:
The Knowledge Consistency Checker (KCC) has detected problems with the following directory partition.
Directory partition:
CN=Configuration,DC=ad,DC=mydomain,DC=co,DC=uk
Event 1566:
All directory servers in the following site that can replicate the directory partition over this transport are currently unavailable.
Site:
CN=MYSITE,CN=Sites,CN=Configuration,DC=ad,DC=mydomain,DC=co,DC=uk
Directory partition:
DC=ad,DC=mydomain,DC=co,DC=uk
Transport:
CN=IP,CN=Inter-Site Transports,CN=Sites,CN=Configuration,DC=ad,DC=mydomain,DC=co,DC=uk
A reboot always clears this up, and always after a month or two the same problem will crop up again on a different server. I've seen it on 5 different servers in different domains so far. Reboots are fine, but it always feels like a bit of a blunt instrument. I was hoping someone might have come across this before and be able to offer a fix.
thanks...
Is this related to: "All the TCP/IP ports that are in a TIME_WAIT status are not closed after 497 days from system startup in Windows Vista, in Windows 7, in Windows Server 2008 and in Windows Server 2008 R2" http://support.microsoft.com/kb/2553549

SQL Server 2005 Reporting Services and the Report Viewer

I am having an issue embedding my report into an aspx page.
Here's my setup:
1 Server running SQL Server 2005 and SQL Server 2005 Reporting Services
1 Workstation running XP and VS 2005
The server is not on a domain.
Reporting Services is a default installation.
I have one report called TestMe in a folder called TestReports using a shared datasource.
If I view the report in Report Manager, it renders fine. If I view the report using the http ://myserver/reportserver url it renders fine. If I view the report using the http ://myserver/reportserver?/TestReports/TestMe it renders fine. If I try to view the report using http ://myserver/reportserver/TestReports/TestMe, it just goes to the folder navigation page of the home directory.
My web application is impersonating somebody specific to get around the server not being on a domain. When I call the report from the report viewer using http ://myserver/reportserver as the server and /TestReports/TestMe as the path I get this error:
For security reasons DTD is prohibited in this XML document. To enable DTD processing set the ProhibitDtd property on XmlReaderSettings to false and pass the settings into XmlReader.Create method.
When I change the server to http ://myserver/reportserver? I get this error when I run the report:
Client found response content type of '', but expected 'text/xml'. The request failed with an empty response.
I have been searching for a while and haven't found anything that fixes my issue. Please let me know if there is more information needed.
Thanks in advance,
Kendra
There are two virtual directories of interest with SSRS.
http://myserver/reportserver is where the web services are.
http://myserver/reports is where the Report Manager interface is.
http ://myserver/reportserver?/TestReports/TestMe works because you're going to the web services and passing in a parameter of the 'address' of the report you want. Notice the ? in there, indicating that the rest is a querystring parameter
http ://myserver/reportserver/TestReports/TestMe is trying to go a subdirectory of the virtual directory, which doesn't really exist.
To get your system working using anonymous access, you'll need to tell IIS to be running your website's application pool as a known user, which has sufficient permission to view the report. You can set this up in Report Manager (http://myserver/reports).
See how you go - good luck.