We've got problem with ASP.NET web application that uses web services of other system. I'll describe our system architecture: we have web application and Windows services that uses the same web services.- Windows service works all the time and sends information to these web services once an hour.- Web application is designed for users to send the same information in manual behavior. The problem is when user sometimes tries to send information in manual behavior in the web application, .NET throws exception „The operation has timed out" (web?). At that time Windows service successfully sends all necessary information to these web services. IT stuff that supports these web services asserts that there was no any request from our web application at that time. Then we have restarted IIS (iisreset) and everything has started to work fine. This situation repeats all the time. There is no anti-virus or firewall on the server. My suggestion is that there is something wrong with IIS, patches, configuration or whatever? The only specific thing is that there are requests that can least 2 minutes (web service response wait time). We tried to reproduce this situation on our local test servers, but everything works fine.
Could not load file or assembly 'System.Windows, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' or one of its dependencies. The system cannot find the file specified.
Description:
An unhandled exception occurred during the execution of the current web request. review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'System.Windows, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' or one of its dependencies. The system cannot find the file specified.
Source Error:
[Code]....
Source File:
c:ProductiveTeamsMedTegraPresentationMedTegraSLMedTegraSL.WebMainMaster.Master Line: 16 Assembly Load Trace: The following information can be to determine why the assembly 'System.Windows, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' could not be loaded.
I m trying to connect to my Active Directory and fetch the attribute of my AD.Whenever i trying to execute the console application made in c# i get following error.[CODE]The type or namespace name 'DirectoryServices' does not exist in the namespace 'System' (are you missing an assembly reference?)[/CODE]
I am trying to display reporting service elements in a web page as little 'widget' like elements, where when you click on one of the elements it takes you to the reporting services page that holds all of the data.
This works on my machine, and when run on two other machines, however, it is not working on the development server or another developer's machine.
It works in dev in Google chrome, but not in IE 7 or 8. The images/links work if you right click on them and select "open link", but they are not click-able as links, which pisses the business unit off.
I would really appreciate some help on this. Here is the information pertinent to what I am trying to do. URLs and such changed for obvious purposes.
I am trying to provide the reference of one of my web services from my asp.net web application in Visual Studio 2008 by clicking "Web services on the local machine.
However I am getting the following error: There was an error while enumerating services on local machine: Active Directory Services cannot find the web server. A possible cause for this is an incompatibility between versions of Internet Information Server (IIS) on the client and the server. Another possible cause is that IIS is not installed on the local machine, or the user identity under which you are running may not have permissions to view websites on this machine. To view websites on this machine, make sure that you run Visual Studio as administrator. On Windows Vista computers with IIS installed, make sure that IIS Metabase and IIS 6 configuration compatibility feature is enabled.
I have installed IIS successfully and I am running Visual Studio as an administrator.
I created a small new webservice for AutoCompleteExtender and for some reason I am getting "type System.Web.Script.Services.ScriptService is not defined" error. I Googled this and found a few threads about similar issues but was unable to resolve mine. Here is the example of the code:
[Code]....
When I add Imports System.Web.Script.Services I get "Namespace or type specified in the Imports 'System.Web.Script.Services' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases".
I've tried adding Reference to System.Web.Extensions and it didn't do anything. What could be the problem?
I created a page for display my own windows services installed in the system. That page displays the service display name and status in the grid view and also showed one button to start ot stop the service according to the statusAll working nicely. But when i click start button i got the error as follows{"Cannot open Service1 service on computer '.'."}and the inner exception is "{"Access is denied"} .
I have deployed my website to a shared hosting provider and since deployment, it shows the error "XML Parser Error:no element found" from time to time. I have checked my error log and I find issues such as "Object reference not set to an instance of the object" but the weird thing is if I visit the SAME page after a while, it loads!
I have checked with my hosting provider and they told me the below is what they can see on their side:
Exception information: Exception type: HttpException Exception message: Could not load type 'Test2.GlobalAsax'.
I have checked my global.asax and the interits are all correct. I have tried:
a) Deleting the webapplication dlls and rebuilding - didn't work
b) Deleting the global.asax and adding a new one and then rebuild. - didn't work
c) Changing the class name of global.asax.vb and updating at inherits at global.asax, and rebuild - didn't work
d) Change the Asp.Net version to an older version and change back to original version - didn't work
e) Debugged my application countless times locally (for the same page) but while connecting to the DB on my hosting provider - no issues found
My webhosting provider is saying there is an error in my code, but if there is a bug, shouldn't it always show the same error?
I also noticed that when the XML parser error is shown, if I were to go back to say Google.com and then to my website's main page, and then to the Page with error, the page loads!!
I am seriously running out of ideas what could have caused this issue. I have also conducted a ping test to my website and I am getting some time outs, will that cause my page to not load from time to time?
The type My.API.Class is ambiguous: it could come from assembly '[on Temporary ASP.NET Files]' or from assembly '[on bin folder]'
The problem occurs when debugging a Web App, speciically when making a request to a WebMethod of a WebService.The project compiles just right. It generates My.Website.dll on bin folder and if I publish the Web Application. It works fine.The asmx file is on the root of the application. The CodeBehind file is on App_Code and its marked to be compiled to generate My.Website.dll.The way this person exposes its problem is somehow similar but I get starting to be lost when he talks about a proxy class and shared dlls I don't use.
I am having some trouble upgrading an existing SQL Server 2000 Reporting Services installation from an old server to a new one commissioned for this purpose, which is running SQL Server 2008 Reporting Services. I have been following the instructions here: [URL] but after trying to connect with reporting services 2008, i get this error: The version of the report server database is either in a format that is not valid, or it cannot be read. The found version is 'C.0.6.54'. The expected version is '147'. (rsInvalidReportServerDatabase) before starting the process, I ran upgrade advisor and got back the following results:
Description Setup can upgrade a SQL Server 2000 Reporting Services instance that uses a SQL Server 2000 Database Engine in the same instance. However, upgrade is blocked if the report server database is in a different instance, on a remote instance, or runs on a remote SQL Server 2005 instance in SQL Server 2000 compatibility mode.
***** *note, our reporting services IS in the same instance as the SQL Server 2000 database engine. However, upgrade advisor still reported that this instance can not be automatically upgraded. *****
Corrective Action Choose either approach to continue with the upgrade: Upgrade the Database Engine instance on the remote computer before upgrading Reporting Services. The server cannot be in SQL Server 2000 compatibility mode after upgrade. Move the reportserver and reportservertempdb to a SQL Server 2005 or SQL Server 2008 Database Engine instance, and then use the Reporting Services Configuration tool to connect the report server to the database.
so, I went with option 2, move the database then connect. I have: -backed up the ReportServer and ReportServerTempDB databases from the old server, transferred them to the new and restored them to the 2008 Server as ReportServerOld. -I then renamed the old database to ReportServer and ReportServerTempDB, as this is required to use the database as a source apparently. I had to of course change the existing database names to ReportServerNew to perform the rename. I backed up the symetric key for this installation using the rskeymgmt utility...............
This error never happens before in my machine since 7 months of using it. [:(]
"There was an error while enumerating services on local machine: Active Directory Services cannot find the web server. A possible cause for this is an incompatibility between versions of Internet Information Server (IIS) on the client and the server. Another possible cause is that IIS is not installed on the local machine, or the user identity under which you are running may not have permissions to view websites on this machine. To view websites on this machine, make sure that you run Visual Studio as administrator. On Windows Vista computers with IIS installed, make sure that IIS Metabase and IIS 6 configuration compatibility feature is enabled."
I'm trying to add back a webservice (localhost) after deletion. And suddenly I'm getting the above error.[:(]
The error's suggested tip is to install IIS but I did not install IIS since then in my machine because VS2010 built-in server do just fine. Should I install IIS?
I also found this helpful tips but nothing works. [:(]
* Run Visual Studio with elevated administrator permissions * Be a member of the "Administrators" group on the local machine * Right-click the Visual Studio icon and select the "Run as administrator" option from the context menu.
I am getting "ASP.NET session has expired" error when viewing a (SQL server reporting services) report using report viewer control. sometimes it works fine and sometimes I get this error, it works fine in Dev, but not in test environment. Please let me know if you have any clues.here is the code for the report viewer control.
ReportViewer1.ServerReport.ReportServerUrl = new Uri(System.Configuration.ConfigurationManager.AppSettings["ReportServerUrl"]); ReportViewer1.ServerReport.ReportPath = System.Configuration.ConfigurationManager.AppSettings["ReportPath"]; ReportViewer1.ServerReport.SetParameters(new List<ReportParameter> { new ReportParameter("key", "value") }); ReportViewer1.DataBind();
How to Find All the Web Services and Windows Services Running on a Server in ASP.Net. I have the server details with me and want to find all the Web services running on it.
I am trying to Upload data from Excel file. Transfer data from Excel file to XML file and passed it to Store procedure. And insert the record into database.I also set the timeout for command to zero. when i upload 1 to 500 rows its working fine and when I upload the 10000 rows than its takes time but upload all the users successfully at localhost. But when I upload the code to remote srever,than its only upload upto 300 or 400 rows.After uploading these users it will gives the error of Request Time Out . Even more if I tried to upload 50000 rows its give me the error of 'Maximum Length Exceeded'. Can anyone tell me what the maximum size of Excel sheet to upload the users. How I can get rid of the Request Time Out Issue. How I can Increase the server response time.
I am using Visual Studio 2010 Release candidate1. I have to deploy my web application which consists of a website, certain window services, certain WCF services and Sql Server 2005 database.I read Vishal Joshi's blog(http://vishaljoshi.blogspot.com/2009/09/overview-post-for-web-deployment-in-vs.html) detaing Web Package in VS2010. I want to know how to deploy window services and WCF services using Web Package. Also, I want to create a web setup (.msi) for deployment instead of Web Package so that the .msi takes care of all the application and database deployment like the web package does.
I am using HTML controls while using Ajax in my .net project. Now I want to make my text box to be autocomplete. I am fetching a data using a query for the respective typed text but i am not sure how to bind that data to text box and show it the way it is being displayed in google and other famous sites. I would also love to know the way using web services. Which way is more efficient?
I developed an ASP.net 1.1 web application that is written in VS2203 and I am using Reporting Services 2005 to render some reports in PDF Format. My problem was it is working fine in local (XP) and Production environment (Windows 2003 Server).fromo long back the solution was not working for my integration Server which has windows 2003 Server (1.1) and we installed the 2.0,3.5 frameworks. It is throwing an Object refernce error while render the report. Is there any permisions or something missing.
i'm using sql server 2008 with advance services the below error is of reporting services.."The permissions granted to user 'sysnameASPNET' are insufficient for performing this operation. (rsAccessDenied)"when i'm trying to host appliction.. the above error is occured..it works fine when i try to execute locally.. but when i try to execute through the IIS i.e host applicationthe above error is displayed.
Am running asp.net application.I try to build sample site using gridview.I got compilation error as below,CS1061: 'ASP.gridedit_aspx' does not contain a definition for 'GridView1_RowUpdated' and no extension method 'GridView1_RowUpdated' accepting a first argument of type 'ASP.gridedit_aspx' could be found (are you missing a using directive or an assembly reference?)
Line 13: <asp:GridView ID="GridView1" runat="server" DataKeyNames="ID" Line 14: AutoGenerateColumns="False" Line 15: DataSourceID="SqlDataSource1"
CS0016: Could not write to output file 'c:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Files oot7529765bd6c35794App_Web_uclogin.ascx.5a9fc98b.zqr8lwaw.dll' -- 'Access is denied. '
Makes it sense to use ASP.NET applications together with WCF RIA Services or WCF Data Services (to encapsulate the data access layer) ? Or are these technolgies only useful for Silverlight applications.
I'm using .Net 2008 and Oracle 10g as my database. The problem I'm getting is after deploying the application in IIS, when multiple users access the same page at a time i'm getting the error. Can't get the output.
Note: Both the users accessing the same page, same menu at a time.