Rally Ad-in for Excel- I can not connect to rally - plugins

I cannot connect to rally after installation of excel plugin. After every attempt of connection I receive message listed below:
Error connecting to Rally: Unable to connect to the remote server
at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest&
request) at System.Net.WebClient.DownloadString(Uri address) at
Rally.RestApi.HttpService.Get(Uri target, IDictionary`2 headers) at
Rally.RestApi.RallyRestApi.MakeRequest(Uri uri) at
Rally.RestApi.RallyRestApi.GetByReference(String aRef, String[]
fetchedFields) at
Rally.RestApi.RallyRestApi.GetCurrentUser(String[] fetchedFields)
at RallyExcel.ExcelRestApi.GetUserInfo(Boolean includeWorkspaceData)
in E:\projects\exceladdin_tmp\RallyExcel\ExcelRestApi.cs:line 48 at
RallyExcel.RallyConnectionDialog.OnOKClicked(Object sender, EventArgs
e) in
E:\projects\exceladdin_tmp\RallyExcel\RallyConnectionDialog.cs:line 65
I have reinstalled plugin several times with no results. I also download .msi installation file from Rally page few times for those installations (in case it was broken).
I do not think that it is related with the Internet network since I was trying to connect using several different LANs with no results.
Looking at error message it seems that plugin need some files from disk “E:\”, which is (in my case) CD/DVD drive. I can not find any place (e.g. configuration file) where I can change this setting and direct it to any existing disk.
Finally, this problem appears also for my colleagues. We all are using Lenovo ThinkPad with Win 7 (usually 64) and MS Office 2010.
I will be grateful for any help.

I received the error below while trying to connect to Rally via Excel. It was because I needed to change my password in Rally. Once I opened up Rally in my browser and logged in, the web site requested that I change my password. Once I did that, I was able to connect to Rally via Excel.
Error connecting to Rally: Invalid JSON primitive: .
at System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializePrimitiveObject()
at System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializeInternal(Int32 depth)
at System.Web.Script.Serialization.JavaScriptObjectDeserializer.BasicDeserialize(String input, Int32 depthLimit, JavaScriptSerializer serializer)
at System.Web.Script.Serialization.JavaScriptSerializer.Deserialize(JavaScriptSerializer serializer, String input, Type type, Int32 depthLimit)
at Rally.RestApi.DynamicJsonSerializer.Deserialize(String json)
at Rally.RestApi.RallyRestApi.GetByReference(String aRef, String[] fetchedFields)
at RallyExcel.RallyRestApiWrapper.GetCurrentUser(String[] fetchedFields) in C:\Users\admin\Documents\exceladdin\RallyExcel\ExcelRestApi.cs:line 343
at RallyExcel.ExcelRestApi.GetUserInfo(Boolean includeWorkspaceData) in C:\Users\admin\Documents\exceladdin\RallyExcel\ExcelRestApi.cs:line 78
at RallyExcel.RallyConnectionDialog.OnConnectClicked(Object sender, EventArgs e) in C:\Users\admin\Documents\exceladdin\RallyExcel\RallyConnectionDialog.cs:line 168

Related

FirebirdSql Data Client I/O error during "CreateFile (open)" operation for file

One of our clients is getting this error very randomly. Once or twice a week. It has only been happening for the last month or so.
Error message:
I/O error during "CreateFile (open)" operation for file "ttt"
Error while trying to open file
Stack trace:
at FirebirdSql.Data.FirebirdClient.FbConnectionInternal.Connect()
at FirebirdSql.Data.FirebirdClient.FbConnectionPoolManager.Pool.CreateNewConnection(FbConnectionString connectionString, FbConnection owner)
at FirebirdSql.Data.FirebirdClient.FbConnectionPoolManager.Pool.CreateNewConnectionIfPossibleImpl(FbConnectionString connectionString, FbConnection owner)
at FirebirdSql.Data.FirebirdClient.FbConnectionPoolManager.Pool.GetConnection(FbConnection owner)
at FirebirdSql.Data.FirebirdClient.FbConnectionPoolManager.Get(FbConnectionString connectionString, FbConnection owner)
at FirebirdSql.Data.FirebirdClient.FbConnection.Open()
at TTT.DALFirebird.FbSocket.ExecuteScalar(CommandType commandType, String commandText, String connectionString, FbParameter[] parameters)
at TTT.LibGlobal.Data.FirebirdHelper.TestConnection(String connectionString)
------
Error message:
I/O error during "CreateFile (open)" operation for file "ttt"
Error while trying to open file
Stack trace:
at FirebirdSql.Data.Client.Managed.Version10.GdsDatabase.ProcessResponse(IResponse response)
at FirebirdSql.Data.Client.Managed.Version10.GdsDatabase.ReadResponse()
at FirebirdSql.Data.Client.Managed.Version10.GdsDatabase.ReadGenericResponse()
at FirebirdSql.Data.Client.Managed.Version10.GdsDatabase.Attach(DatabaseParameterBuffer dpb, String dataSource, Int32 port, String database)
at FirebirdSql.Data.FirebirdClient.FbConnectionInternal.Connect()
The database is hosted on a dedicated PC with Windows 8.1.
Firebird version: 3.0.7.33374 (x64)
Firebird Sql Data Client version: 4.6.1.0
I checked the security settings for the database file and gave full control for the system and users. Not sure what else it could be as the 3050 port is open and there's no issue with users connecting 99% of the time. Is a particular test their I.T. can run to diagnose?
The connection string for the desktop application is:
dialect=3;initial catalog=<Database Alias>;data source=<IP ADDRESS>;user id=<User>;password=<Password>;character set=ISO8859_1;pooling=True;connection lifetime=30;server type=Default;port number=3050
Please let me know if you require any further information.
They are trying to connect to database "ttt". This database (or alias) is not found so they get the error. As the developer of the application you should know what "TTT" object in the call stack may be and how connection string is formed.

Installing GitHub for Windows

I'm trying to install GitHub for Windows. I tried installing it the normal way and got this error:
Application installation did not succeed. Cannot locate application files on the server. Contact the application vendor or your administrator for assistance.
Clicking on Details... gave me this:
PLATFORM VERSION INFO
Windows : 6.1.7601.65536 (Win32NT)
Common Language Runtime : 4.0.30319.18034
System.Deployment.dll : 4.0.30319.17929 built by: FX45RTMREL
clr.dll : 4.0.30319.18034 built by: FX45RTMGDR
dfdll.dll : 4.0.30319.17929 built by: FX45RTMREL
dfshim.dll : 4.0.41209.0 (Main.041209-0000)
SOURCES
Deployment url : http://github-windows.s3.amazonaws.com/GitHub.application
Server : AmazonS3
Application url : http://github-windows.s3.amazonaws.com/Application%20Files/GitHub_1_0_47_0/GitHub.exe.manifest
Server : AmazonS3
IDENTITIES
Deployment Identity : GitHub.application, Version=1.0.47.0, Culture=neutral, PublicKeyToken=317444273a93ac29, processorArchitecture=x86
Application Identity : GitHub.exe, Version=1.0.47.0, Culture=neutral, PublicKeyToken=317444273a93ac29, processorArchitecture=x86, type=win32
APPLICATION SUMMARY
* Installable application.
* Trust url parameter is set.
ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of http://github-windows.s3.amazonaws.com/GitHub.application resulted in exception. Following failure messages were detected:
+ Downloading http://github-windows.s3.amazonaws.com/Application Files/GitHub_1_0_47_0/msvcp100.dll.deploy did not succeed.
+ The remote server returned an error: (403) Forbidden.
COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.
WARNINGS
There were no warnings during this operation.
OPERATION PROGRESS STATUS
* [5/21/2013 8:19:19 AM] : Activation of http://github-windows.s3.amazonaws.com/GitHub.application has started.
* [5/21/2013 8:19:19 AM] : Processing of deployment manifest has successfully completed.
* [5/21/2013 8:19:19 AM] : Installation of the application has started.
* [5/21/2013 8:19:20 AM] : Processing of application manifest has successfully completed.
* [5/21/2013 8:19:24 AM] : Found compatible runtime version 4.0.30319.
* [5/21/2013 8:19:24 AM] : Request of trust and detection of platform is complete.
ERROR DETAILS
Following errors were detected during this operation.
* [5/21/2013 8:19:25 AM] System.Deployment.Application.DeploymentDownloadException (Unknown subtype)
- Downloading http://github-windows.s3.amazonaws.com/Application Files/GitHub_1_0_47_0/msvcp100.dll.deploy did not succeed.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
at System.Deployment.Application.SystemNetDownloader.DownloadAllFiles()
at System.Deployment.Application.FileDownloader.Download(SubscriptionState subState)
at System.Deployment.Application.DownloadManager.DownloadDependencies(SubscriptionState subState, AssemblyManifest deployManifest, AssemblyManifest appManifest, Uri sourceUriBase, String targetDirectory, String group, IDownloadNotification notification, DownloadOptions options)
at System.Deployment.Application.ApplicationActivator.DownloadApplication(SubscriptionState subState, ActivationDescription actDesc, Int64 transactionId, TempDirectory& downloadTemp)
at System.Deployment.Application.ApplicationActivator.InstallApplication(SubscriptionState& subState, ActivationDescription actDesc)
at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
--- Inner Exception ---
System.Net.WebException
- The remote server returned an error: (403) Forbidden.
- Source: System
- Stack trace:
at System.Net.HttpWebRequest.GetResponse()
at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.
I followed the advice on this post and downloaded github-windows.s3.amazonaws.com/GitHub.application with the latest version of Chrome. When I tried to run it, I got this error:
Application cannot be started. Contact the application vendor.
With this detail:
PLATFORM VERSION INFO
Windows : 6.1.7601.65536 (Win32NT)
Common Language Runtime : 4.0.30319.18034
System.Deployment.dll : 4.0.30319.17929 built by: FX45RTMREL
clr.dll : 4.0.30319.18034 built by: FX45RTMGDR
dfdll.dll : 4.0.30319.17929 built by: FX45RTMREL
dfshim.dll : 4.0.41209.0 (Main.041209-0000)
SOURCES
Deployment url : file:///C:/Users/SESA277661/Downloads/GitHub.application
IDENTITIES
Deployment Identity : GitHub.application, Version=1.0.47.0, Culture=neutral, PublicKeyToken=317444273a93ac29, processorArchitecture=x86
APPLICATION SUMMARY
* Installable application.
* Trust url parameter is set.
ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of C:\Users\SESA277661\Downloads\GitHub.application resulted in exception. Following failure messages were detected:
+ Deployment and application do not have matching security zones.
COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.
WARNINGS
There were no warnings during this operation.
OPERATION PROGRESS STATUS
* [5/21/2013 8:29:33 AM] : Activation of C:\Users\SESA277661\Downloads\GitHub.application has started.
* [5/21/2013 8:29:33 AM] : Processing of deployment manifest has successfully completed.
* [5/21/2013 8:29:33 AM] : Installation of the application has started.
ERROR DETAILS
Following errors were detected during this operation.
* [5/21/2013 8:29:33 AM] System.Deployment.Application.InvalidDeploymentException (Zone)
- Deployment and application do not have matching security zones.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.DownloadManager.DownloadApplicationManifest(AssemblyManifest deploymentManifest, String targetDir, Uri deploymentUri, IDownloadNotification notification, DownloadOptions options, Uri& appSourceUri, String& appManifestPath)
at System.Deployment.Application.DownloadManager.DownloadApplicationManifest(AssemblyManifest deploymentManifest, String targetDir, Uri deploymentUri, Uri& appSourceUri, String& appManifestPath)
at System.Deployment.Application.ApplicationActivator.DownloadApplication(SubscriptionState subState, ActivationDescription actDesc, Int64 transactionId, TempDirectory& downloadTemp)
at System.Deployment.Application.ApplicationActivator.InstallApplication(SubscriptionState& subState, ActivationDescription actDesc)
at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.
From here I'm stuck. Any advice would be much appreciated.
I'm on a work computer, so there may be some security settings blocking something, but I don't know about all that.
Thanks,
Chris
Setup was stalling at around 85MB for me, after repeated attempts. After trying all these answers with no success, the one found here is the one that finally worked for me. I canceled, killed dfsvc.exe from Task Manager (I'm using Windows 10), deleted C:\Users\{username}\AppData\Local\Apps\2.0, opened up Internet Explorer (not Chrome or Firefox) and navigated to this exact URL:
https://github-windows.s3.amazonaws.com/GitHub.application
I had the exact same problem and it turned out that a Web Content Filtering system was getting errors for many of the git client files, some of them are included below.
Spoofed files
http://github-windows.s3.amazonaws.com/Application Files/GitHub_1_0_48_0/msvcp100.dll.deploy
http://github-windows.s3.amazonaws.com/Application Files/GitHub_1_0_48_0/sqlite3.dll.deploy
http://github-windows.s3.amazonaws.com/Application Files/GitHub_1_0_48_0/7za.exe.deploy
http://github-windows.s3.amazonaws.com/Application Files/GitHub_1_0_48_0/RestSharp.dll.deploy
http://github-windows.s3.amazonaws.com/Application Files/GitHub_1_0_48_0/git2.dll.deploy
http://github-windows.s3.amazonaws.com/Application Files/GitHub_1_0_48_0/ReactiveUI.Xaml.dll.deploy
http://github-windows.s3.amazonaws.com/Application Files/GitHub_1_0_48_0/zh-Hant/Microsoft.Expression.Interactions.resources.dll.deploy
http://github-windows.s3.amazonaws.com/Application Files/GitHub_1_0_48_0/GitHub.UI.dll.deploy
http://github-windows.s3.amazonaws.com/Application Files/GitHub_1_0_48_0/GitHub.exe.deploy
Missing Digital Signature
http://github-windows.s3.amazonaws.com/Application Files/GitHub_1_0_48_0/chromium-pack.7z.deploy
Number of contained files exceeds limit
http://github-windows.s3.amazonaws.com/Application Files/GitHub_1_0_48_0/PortableGit.7z.deploy
I suppose you should contact your network admin and get him to set up exceptions for these files, or even better for the whole http://github-windows.s3.amazonaws.com. Still, IMHO, this shouldn't be happening. I'll try to get in touch with Github support.
I was just having this same problem, I was able to download the installer but after the installer (GitHubSetup.exe) finished doing it's downloading, the program wouldn't launch, it crashed with an error log.
I'm using Windows 8.1; I have never had any trouble in Windows 7.
So I tried right-clicking and "Run as Administrator", it again did it's downloading thing and then launched just fine.
Introduction
I have had a similar problem: after 75% of the file was downloaded, it just got stuck.
Then 5 minutes later or so, I've received the exact same error message you did.
How I've fixed it
As Geogrgios mentioned above, you need to add an exception to the firewall.
Go to "Control Panel" and click on "System and Security" (make sure that "View by:" is set to "Category" and not to "Large icons" or "Small icons").
Choose Windows Firewall (the second option in the right menu). Then, "Allow a program or a feature through Windows Firewall" in the left menu will be displayed, please click on it.
Click on "Change settings" to add exceptions.
Click on "Allow another program ..", which has gotten enabled, and in the new window click on "Browse..".
Choose the "GithubSetup.exe" file, press "Open" and then "Add" and "OK".
Run "GithubSetup.exe" and hope for the best.
Better instructions (with screenshots) can be found here
I opened Microsoft edge and navigated to:
https://github-windows.s3.amazonaws.com/GitHub.application
worked first time !
might also work in internet explorer
got the idea from:
stimpy77
https://stackoverflow.com/a/33021657/606724
I too faced a similar issue. The root cause was two fold.
1. Proxy: I was behind a corporate proxy, which prevented me from connecting to the download center.
2. Firewall: I was using a corporate laptop in which Symantec network access control was enabled (Firewall related settings are present here)
I disabled the Symantec network access control and used my personal internt connection to download and install. Did not face any issues after that.
Just switching to Internet Explorer from Chrome did the trick for me =) I don't know why, but it really helped. After 95%(!!) of the file was downloaded, it just got stuck.
If you're using Kaspersky, disable Protection and Control first. Kaspersky Antivirus deletes all deploy files silently, giving erros like this (from install.log):
Launching Application.
URLDownloadToCacheFile failed with HRESULT '-2146697211'
Error: An error occurred trying to download 'http://github-windows.s3.amazonaws.com/GitHub.application'.
Or like this (downloading http://github-windows.s3.amazonaws.com/GitHub.application and launching manually):
* [15/09/2015 11:58:50] System.Deployment.Application.DeploymentDownloadException (Unknown subtype)
- Unsuccessfull download at file:///C:/Users/user/Downloads/Application Files/GitHub_3_0_5_2/GitHub.exe.manifest.
- Source: System.Deployment
- Stack trace:
in System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
in System.Deployment.Application.SystemNetDownloader.DownloadAllFiles()
in System.Deployment.Application.FileDownloader.Download(SubscriptionState subState)
in System.Deployment.Application.DownloadManager.DownloadManifestAsRawFile(Uri& sourceUri, String targetPath, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
in System.Deployment.Application.DownloadManager.DownloadApplicationManifest(AssemblyManifest deploymentManifest, String targetDir, Uri deploymentUri, IDownloadNotification notification, DownloadOptions options, Uri& appSourceUri, String& appManifestPath)
in System.Deployment.Application.ApplicationActivator.DownloadApplication(SubscriptionState subState, ActivationDescription actDesc, Int64 transactionId, TempDirectory& downloadTemp)
in System.Deployment.Application.ApplicationActivator.InstallApplication(SubscriptionState& subState, ActivationDescription actDesc)
in System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
in System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
--- Internal exception ---
If you use Windows 10:
Kill dfsvc.exe
Delete this folder: %LocalAppData%\Apps\2.0
Type in Internet Explorer: https://github-windows.s3.amazonaws.com/GitHub.application
I had a same problem, and got the isse like 20+ times while I was trying to intsall the github on my Windows 8 Pro.
Solutions found unknowingly is - Login into the Github account, then download the package, and try to install without logout till the installation complition.
It work for me.. Please try and provide if you have any more better way to handle this.
thanks.
Turns out the problem for me was that my corporate network was blocking the download on the network level. This problem was solved for me by going outside of my corporation's network policies via a personal VPN.
When I tried to download GitHub, the ClickOnce app would install with the following error:
ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of C:\Users\Judah\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\GitHub, Inc\GitHub.appref-ms| resulted in exception. Following failure messages were detected:
+ Downloading http://github-windows.s3.amazonaws.com/Application Files/GitHub_3_1_1_4/libGLESv2.dll.deploy did not succeed.
+ Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
+ An existing connection was forcibly closed by the remote host
The error message says it was unable to download http://github-windows.s3.amazonaws.com/Application Files/GitHub_3_1_1_4/libGLESv2.dll.deploy. Trying to directly download that file with Chrome, IE, and Edge all failed.
I began to suspect it was a corporate network policy that was blocking the download.
So, I connected to a personal VPN, downloaded again, and it worked. You could use a VPN, or tethering on your phone, or some other network outside of your corporate network to download as well.
I too faced the same issue when I tried to install it. Even though I'm using VPN I couldn't install it because of network configuration matters. So I turned off the firewall and tried installing it. It didn't work for me in one go coz of some vendor issues and I tried reinstalling it. Finally, it worked for me.
Thanks to this post, I just used Internet Explorer and navigated to:
https://github-windows.s3.amazonaws.com/GitHub.application
And it completely installed Github for Windows (I have Windows 8.1).
Prior to this, with the installer I downloaded using Chrome I couldn't install Github for Windows (I used to get the above "did not succeed" error).
A little more elaboration on the previous answers:
1- Open Windows Explorer (press "Windows+E")
2- Type %LocalAppData%\Apps in its address bar and press Enter.
3- It should find a folder "2". Delete the Folder "2".
4- Open Task Manager (Start menu, then type Task manager and select it.
Alternatively press Ctrl+Alt+Delete and select Task Manager).
5- Click on "Details" tab.
6- Kill all the files named dfsvc.exe (for me there were two).
7- Open Internet Explorer (IE)
8- Paste this address in the address bar and press Enter:
https://github-windows.s3.amazonaws.com/GitHub.application
9- It will start installing Github for Wiindows.
To resolve this issue :
Goto Windows Firewall => Advanced section
Goto Action > Properties
set firwall state to off in domain, private and public.
Disable windows defender or any other antivirus.
Open run window by clicking Windows + R button
Paste "%LocalAppData%\Apps"
Delete the folder named "2.0".
Open Microsoft edge or Internet Explorer
Open "https://github-windows.s3.amazonaws.com/GitHub.application"
Click on Install.
This process will be slower than usual but let it run for as long as it takes. And then you should have an Github icon and Shell window icon in your desktop when it ends.

Crystal report 9.2, incorrect log on parameters

Background;
The Web application is developed for .Net framework 4.0. It has crystal report 9.2 integration. Application runs on Integrated Windows Authentication. The crystal reports are working fine when we execute, from solution running under Visual Studio 2010. When the same report are deployed to server (Web Server- OS: Windows Server 2003-SP2-32bit. DB Server- OS: Windows Server 2003-32bit) following error occurs, incorrect log on parameters. Crystal Report Runtime Engine for .net framework 4.0 has been installed in web server. Reports are configured to work on ODBC, System DSN with SQL Server driver. This drivers runs on SQL Server user account which has permission on database. There are no logon parameters passed from application. Just to verify, solution of passing the logon parameters from application is also tried, but the problem is not resolved.
Note: To resolve full access has been provided to IIS_WPG account on folder: C:\Windows\Temp, C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files and web application.
Server Error in '/XXXX' Application.
________________________________________
Error in File E:\WebApps\XXXX\Reports\CompanyStandard.rpt:
Unable to connect: incorrect log on parameters.
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: CrystalDecisions.CrystalReports.Engine.LogOnException: Error in File E:\WebApps\XXXX\Reports\CompanyStandard.rpt:
Unable to connect: incorrect log on parameters.
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:
[LogOnException: Error in File E:\WebApps\XXXX\Reports\CompanyStandard.rpt:
Unable to connect: incorrect log on parameters.]
. N(String -, EngineExceptionErrorID 0) +582
. I(Int16 !, Int32 ") +277
CrystalDecisions.CrystalReports.Engine.FormatEngine.GetPage(PageRequestContext reqContext) +429
CrystalDecisions.ReportSource.LocalReportSourceBase.GetPage(PageRequestContext pageReqContext) +172
CrystalDecisions.Web.ReportAgent.|(Boolean Z) +223
CrystalDecisions.Web.CrystalReportViewer.OnPreRender(EventArgs e) +165
System.Web.UI.Control.PreRenderRecursiveInternal() +103
System.Web.UI.Control.PreRenderRecursiveInternal() +175
System.Web.UI.Control.PreRenderRecursiveInternal() +175
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2496
You need to change the profile IIS is running under to a domain account or change your web.config file to impersonate the user. Otherwise you will need to apply logoninfo for the report.

Error publishing an asp 3.5 app

Well, I'm here to ask about some problem I have, the detail is that when I publish the application from my computer to the server folder and after make the changes in IIS when I try to browse the web app I get the next error:
Index and length must refer to a location within the string.
Parameter name: length
In my local computer, I installed Visual Studio 2008 with SP1 and in the server is not installed only Framework 3.5.
Is the error related with Entity Framework or it's another problem?
Well, I hope you could help me... regards !
Stack Trace:
[ArgumentOutOfRangeException: Index and length must refer to a location within the string.
Parameter name: length]
System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy) +7495179
System.String.Substring(Int32 startIndex, Int32 length) +11
InnovaWebSite.Global.Session_Start(Object sender, EventArgs e) in C:\Users\cvelazquezt\Desktop\InnovaWeb\InnovaWebSite\Global.asax.cs:117
System.Web.SessionState.SessionStateModule.RaiseOnStart(EventArgs e) +8783312
System.Web.SessionState.SessionStateModule.CompleteAcquireState() +237
System.Web.SessionState.SessionStateModule.BeginAcquireState(Object source, EventArgs e, AsyncCallback cb, Object extraData) +504
System.Web.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +66
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155
The error thrown is from a substring operation. Where it is actually being thrown, I have no clue, as you have not actually posted the stack trace on the error. This could be because you don't know how to do this?
If you can find the stack trace, or even detail your code that gets pieces of a string, you will have a better context of the exception and be able to start doing something to cure it.
As for root cause, the fact it is only happening after publish indicates a) something is missing on the server or b) the server is configured incorrectly (wrong version of .NET for the app pool for example) or c) you have not correctly published the site (maybe copied from your compiled application rather than published and moved the published version over, etc.???)

EF4 EntityException - The underlying provider failed on Open

Okay, this is a new one. I'm trying to debug my project, which I've done many times in the past, and I'm now getting this exception in one of my repositories. I haven't seen it before now. I haven't touched my repos in days, and my connection string is the same as its always been. The inner exception states:
{"A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)"}
And the code it's choking on is:
public class HGArticleRepository : IArticleRepository
{
private HGEntities _siteDB = new HGEntities();
public List<Article> Articles
{
get { return _siteDB.Articles.ToList(); } // <-- this is the line
}
// more repo code
}
Again, like I said, I've never encountered this exception before, and I haven't touched my domain code in days.
This error usually means:
Connection String points to nonexistent SQL Server.
Connection String points to SQL Server that was shut down. Or not started.
Named pipes transport was disabled in SQL Server settings.
Check them carefully one by one. In your case I guess it is 2.
A second option of solution:
Review that IIS is running.
In my case it was stopped, so I got the same error.