0
votes
2answers
144 views

How to deploy an EventReceiver which writes to SQL Server correctly

following scenario. I have a client machine on which I have all the permissions for: SQL-databases (db_owner) Full access to a Sharepoint Application. Created a Sql-account (db_owner) and included ...
2
votes
1answer
165 views

Event Receiver on SharePoint 2010 - How to query DB and display an error message

I'm an absolute beginner of SharePoint development. I would like to create my first Event Receiver and I'm doing with VS2010 (because I'm on SP 2010). I would like to check if adding a new event in ...
0
votes
1answer
189 views

How to insert new line in the SharePoint error message?

I have written a code in event receiver which validates the user entered. My code is complete but the message I want to pass comes in the sinle line. I want to display the message in multiple lines. ...
0
votes
0answers
122 views

Event Receiver causing error on subsite

I have a document library on a site called "Guidelines" on all the subsites are document libraries also called "Guidelines" and on their subsites are more libraries called "Guidelines". All these ...
0
votes
2answers
2k views

Custom Error Message for Event Receiver in SharePoint 2010

I want users to upload the .doc files only in the document library. To do so, I have developed an event receiver in Visual Studio 2010. My code is as follows: public override void ...
0
votes
0answers
407 views

In MOSS 2007, what does event ID 6644 means?

In SharePoint 2010, 6644 refers to error related to Event Receiver. In MOSS 2007, is this the same? MSDN doesn't specified what type of error this event id refers to. In the event log, I got the ...
0
votes
1answer
271 views

Sharepoint modal popup don't shown when the Infopath form are on the site

I tried to add Infopath form on my project, but when I add the Infopath form some of PopUp which are corelated with Infopath and shows errors od data didn't shown What should I do to shown A Modal ...
0
votes
0answers
820 views

Event manager error: Could not load file or assembly or one of its dependencies. The system cannot find the file specified

I'm receiving the following error in my ULS logs when I try to create a new website in a migrated content database. Event manager error: Could not load file or assembly 'xNamex, Version=3.0.0.0, ...
6
votes
4answers
18k views

Error occurred in deployment step 'Activate Features': <nativehr>0x80070002</nativehr><nativestack></nativestack>

I have a feature. On the FeatureActivated event I am creating a list if it is not there. I also have an EventReceiver that in the elements.xml on the Receivers node has the attribute ListUrl. This is ...
0
votes
1answer
2k views

Show message in ItemUpdated Eventreceiver (SP2010)

I need to show an errormessage in a popup or redirecting to another page when an error occurs in the ItemAdded (not ItemAdding...) eventreceiver. Anyone knows how to do this? I've tried: private ...
1
vote
4answers
628 views

Calling Console Application (.exe) in Event Receiver and Getting Error

I am using SharePoint foundation. I have a console application that is used to run some OCR process. I am calling the exe of the console application from windows service and it is working fine. I am ...
1
vote
2answers
604 views

Error while creating event reciever in SharePoint 2010

I am working on creating the event receiver in SharePoint 2010. When I create a new--> project--> event receiver, I choose the sandbox solution and hit ok. I am getting the following error ...