View Complete Post
Im using Enterprise library 5.0I have a scenario, where I have to access two
different databases in my application.Basically this application is a
webservice,delployed on my local for testing purpose.I'm trying to access
this web method from diffent windows application, default connection works fine
but the other database throw's exception.Problem is only my
defaultDatabase is works fine, if I change defaultDatabase="MYCON1" with
"MYCON2" it works fine, if I try to access the other database which is not
default, throws exception.<dataConfiguration defaultDatabase="MYCON1"
connectionString="Data Source=server1;Initial Catalog=dbName1;User
This is what I'm trying to do when I get the error on the server (it works on my local machine):
System.Drawing.Image image = System.Drawing.Image.FromFile(filepath);System.Drawing.Bitmap bmp = new System.Drawing.Bitmap(image); image.Dispose();
Response.ContentType = "image/bmp";bmp.Save(Response.OutputStream, System.Drawing.Imaging.ImageFormat.Bmp);bmp.Dispose();
I don't think it can be a permissions problem because this works on the server:
System.Drawing.Image image = System.Drawing.Image.FromFile(filepath);System.Drawing.Bitmap bmp = new System.Drawing.Bitmap(image);image.Dispose();Response.ContentType = "image/jpeg";bmp.Save(Response.OutputStream, System.Drawing.Imaging.ImageFormat.Jpeg);bmp.Dispose();
So how do I get this to work for a bitmap?
I have a sharepoint site and am using the list.asmx webservice to update rows in a list. My code was working well. For some reason, after doing a very large batch of updates, the same code now gives this error each time I run it. The strange
thing is that everything worked, I did a large batch then everything broke. I switched to another site and it worked again. I did a large batch and everything once again broke.
<Result ID="1,Update" xmlns="http://schemas.microsoft.com/sharepoint/soap/"><ErrorCode>0x80131904</ErrorCode><ErrorText>The operation failed because an unexpected error occurred. (Result Code: 0x80131904)</ErrorText>
I'm having problems with installing SharePoint foundation 2010. Istallation finishes without any errors and the configuration wizard just as well. But when I the try to open the following url (http://server:port/_admin/adminconfigintro.aspx?scenarioid=adminconfig&welcomestringid=farmconfigurationwizard_welcome)
a blank page with the text an error has occurred. Also, after turning customerrors off and httperrors to custom, I get a 500 error when accessing the central administration.
Because of some research I have done I found out that turning the pipeline mode to classic instead of integrated fixes that issue. But if I do that I cannot access any page anymore (e.g. the /default.aspx). I get a 404 - not found.
Any help is very much appreciated.
We have a big app running on Windows Server 2003 R2 SP2 Standard x64 Edition .
Problem is that we dont know where it happens but from time to time we have in log of errors this kind of error:
System.Runtime.InteropServices.ExternalException: A generic error occurred in GDI+.
ÃÂ at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Do you know what can be the reason? application is not compiled for x64 platform is compiled for 'AnyCPU'.Another thing is that application is running via Citrix. And under .net framework 2.0
I am creating a custom webpart, in which I have a label control. This label will display the current site URL and here is the code
But when I try to use SPWeb or SPSite within CreateChildControl method, I am getting an unexpected error occurred message. Also I have used "using Microsoft.SharePoint;" too.
If suppose I comment those two line my web part is displaying the properly. As below
protected override void CreateChildControls()
//SPWeb wb = SPContext.Current.W
I faced this issue and was able to resolve it. I am hoping this will
be helpful to someone who might get into trouble using the default
three state workflow.
I created a list and tried to use the default Three state workflow.
The workflow was enabled to start as soon as a new list item was
created. It started and the status was "Error Occurred". Being a Java
guy I didn't know where to look for this error. I checked the Event
Viewer but not much help. Is there a log file for Project Server
Here is the reason why this happened. I had to go through most of my
fields in the custom list to understand what was causing this problem.
I had a field called Owner and I had enabled this option "Allow
multiple selections: ". This caused something to break in the
workflow. I am assuming it cannot handle a Person/Group field that
allows multiple selections even though none of the list items actually
had multiple persons selected.
Hopefully this will help someone in the future if they enable any
Person/Group field to have multiple selections.
So I undid ALL the HTTPS changed and use plain http. It's not secure, but at least it works for my development purposes. When I start the test client, it generates a proxy and shows up fine. However, when I run my netcfsvcutil from the commandline, it gives
me "An error has occured in the tool." follow by a "An error has occured in the application".
This is how I call the tool:
And this is my entire config file for the service;
<?xml version="1.0" encoding= Error "Error occured in deplayment step 'Activate Features' I started to work with SharePoint 2010 List and Event Receiver. So i startete the Hole 2 from the Microsoft Page (http://www.microsoft.com/downloads/details.aspx?familyid=C010FC68-B47F-4DB6-B8A8-AD4BA33A35C5&displaylang=en)HOL02 - Developing a List Definition and Event Receiver in Visual Studio 2010 This hands-on lab walks you through building a list definition for SharePoint 2010 in Visual Studio 2010. It also shows how to build an event receiver for the list in Visual Studio 2010 and deploy it to SharePoint. After the list and event receiver are deployed, you can use the developer dashboard to evaluate the performance of the event receiver.So I created the SharePoint List Definition in VS 2010 Beta. On Step 13 (Page 13) i want to Build / Deploy the Solution to the SharePoint 2010 Server. But here comes the Error "Error occured in deplayment step 'Activate Features'". Witch freatures VS2010 has to aktivate on the SharePoint 2010 Server? What can I do to solve the Error.When i like to write an Event Reciver a Coustum List (Test) don't show up in the List Menu in Visual Studio. What can I do to write a Event Receiver for the Coustum List Temp?Thanks for your Help
The problem: a custom workflow associated with InfoPath form in a document library on SharePoint 2007 fails to fire on the new
server. We get "Error Occurred" as workflow status every time. History Logs are not informative, here's one example:
We have two nodes clustered 2008 SQL server running 5 instances (one default instance and the rest named instances). The default instance failed over to node 2 and now I cannot fail it back to node 1 and keep getting the following error when I try to move
the instance I get the following error in Failover Cluster Managemen:
" The action 'Move to node SQLNV1' did not complete. An error occurred moving the clustered services or application 'SQL Server (MSSQLSERVER)'. the operation failed because either the specified cluster node is not the owner of the group, or
the node is not possible owner of the group"
Thanks in advance!
I am using Enterprise Library 5.0,when am run the console application ,i got this error " Activation error occured while trying to get instance of type Database,key 'xxx' ".