SharePoint Workflow Runs As Previous Version When An Email Is Received?

Feb 24, 2010

I have modified a SharePoint visual studio workflow which works as per requirement on the dev machine. I have to deploy it to an email enabled document library on sharepoint server and it is set to be started automatically when a new item is added to the library. When i deploy it to the server, and perform a manual upload to the doc library i.e. use the upload button to uplaod a document, it runs as expected. but when an email is received by the document library, a previous version of the workflow runs. this is really frustrating. I have removed all the previous versions of the workflow and now there is only one left. I have tried removing the workflow and adding it again but still the same behavior. I have removed temporary .net files from the windows folder but no luck.

If the new version is not installed properly, why is the manual upload working fine? can someone help? I want the same version of the workflow to run on the manual upload and email.

View 2 Replies


Similar Messages:

Versioning SharePoint Binary Workflow ASPX Task Forms?

Apr 13, 2010

As noted by some developers, workflow versioning is somekind of headache in SharePoint.

I`m wondering is there a way I can version my aspx forms? For sure, i can version code behind assemblies, but if markup changes for any of my files in LAYOUTS folder? Is there versioning available for files or do i have to choose new filename for my form?

I should have been more specific. Yes, i have files under version control (i can restore previous versions etc), but i`m not talking about this kind of version control. But by deploying new Workflow Version, i must not delete old one, because it is still running on many items in SharePoint, but rather , as noted in previous links, deploy new one so i don't break execution of workflows.

But workflows will still break if i don't preserve old aspx forms used by users to interact with workflows.

So i must ensure that Assemblies with old version numbers used by old workflow exists (this one is ok, i just changed assembly version number and deployed to GAC)I must ensure that old workflow still uses old aspx form used users to interact with workflow, but new workflow version should use new aspx form with more options (how to do this?).

View 1 Replies

Visual Studio :: PasswordRecovery Email Never Received

Jan 18, 2010

I'm working on a project in VS 2010 that was created in VS 2005 & 2008. I am using the standard PasswordRecovery control. When a goes through the password recovery process, everything appears to be normal. They enter their user name, have to answer the security question, then the "Your password has been sent to you" message is displayed. But, the email is never received. I have tried user names with several different email addresses, but no messages are received. What is a good way to debug this? Here are my settings:

In web.config:
<appSettings>
<!-- The following line is set up for Gmail (otherwise, value="localhost") -->
<add key="MailServer" value="[URL]"/>...

Membership Provider:
<providers><add name="CustomizedMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="SiteConnection" applicationName="/" enablePasswordRetrieval="false"
enablePasswordReset="true" requiresUniqueEmail="false" passwordFormat="Hashed" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0"/></providers>...

Also, all of the other emails generated from my site are being sent and received successfully.

View 6 Replies

Have A Statemachine Workflow, This Workflow Works Fine Until A New Requirement Is Came?

Aug 3, 2010

I know this is not the right place to post this question but I dont know where to go. My question is this.I have a statemachine workflow, this workflow works fine until a new requirement is came. The new requirement is to add a new state and event driven but this event driven is fired if the document library item is updated where the workfow is embedded. Is this posible? if so what event activity should I place?

View 7 Replies

Workflow Foundation 4 - How To Create A Web Based Representation Of The Workflow

Aug 12, 2010

The client wants to see a graphical representation of the workflow. In addition (let's say it is a workflow for processing orders), the client wants to see at what point in the workflow any given order is, indicated on the graphical workflow representation by a highlighted node or some visual queue.

All of this must be available via a web interface.

Was hoping somebody had some bright ideas for how to achieve this without writing extensive custom controls.

Does Workflow Foundation 4 offer anything itself that would assist toward this end?

View 1 Replies

C# - Is Workflow Right For Dynamic Workflow Creation In Web Based Application

Jun 22, 2010

I am new to workflow and just know some of its features. I want to do a project in WF. It will be a web based intranet application where user will be able to define workflow dynamically through web interface.Duration for completing a task can be many days.With these requirments I am not sure will use of WF helpful in quick development or it will increase work ?Please advice me should I try to learn WF for this project or should do it with C# and asp.net

View 1 Replies

Installation :: Revert To Previous Version Of .net Framework?

Jun 7, 2010

I think I did something stupid recently. I tried out the new vs2010 and probably changed settings to the newer version of the .net framework. My asp.net pages are working normally as before locally on my machine, but after I uploaded my web.config file to my ISP, the same pages are not working online.The version of asp.net my ISP has is 2.00.50727. I can upgrade that to 3.0 for an addional cost, but how do I revert back to my previous version, is this done in the wetb.config file perhaps?

View 3 Replies

Installation :: Update The Previous Version Of Setup?

Jan 13, 2011

i have created a pluIn(setup) for IE. this plugin add in IE addOns.this pluIn(setup) installation and uninstallation is working perfect. now i want use a webservise that check version of my computer plugin and server computer plugIn(setup).if both version are different then ask for updation of PlugIn(setUp).if i click on yes then it update my end PlugIn(setup).

View 1 Replies

AJAX :: Reference Required To Previous Version Of AjaxControlToolkit

Aug 4, 2010

I have downloaded a dll that is for Glowish effects to Buttons. But the problem is that , Extender needs reference to an older version of AjaxControlToolkit, and in my project i have already used many controls based on that recent version. That i cannot change. How can i use this GlowExtender with the latest version of AjaxControlToolkit ?

View 30 Replies

C# - Sending Email With Attachments In Sharepoint 2010?

Mar 8, 2011

I am working on SharePoint 2010. I need to send email with attachments using aspx and c# code.

how to do this?

View 2 Replies

Unable To Use Webclient Object To Download A File In SharePoint Email Enabled Document Library?

Feb 22, 2010

I am using webclient object to download a file to a windows folder from a sharepoint document library. The credentials I am passing to the webclient object are that of site collection administrator. everything works fine while i test it by uploading a file to the document library. But since the document library is email enabled; when an email is received the file is not transferred to the windows folder. i have put some workflow history events to see which user account is used when the email is received. the user account shown is the network service account. I have given write permissions on the folder to all the users; Everyone, Network service, the site collection administrator user etc. but still i cant figure out what is the problem.

View 2 Replies

Unable To Call The SharePoint Custom Web Service From Another SharePoint Farm

Jan 12, 2011

I have deployed a custom SharePoint Web service on Farm A. I am trying to access this Web service from a SharePoint timer job on Farm B. On Farm B, I am creating Class Library project, packaging it (wsp) and then deploying to GAC. The problem is I'm unable to access the Web Service using the following code. TodaysNewSVC is a service reference

TodaysNewSVC.GetTodaysnewsfromInsite objGetNews = new TodaysNewSVC.GetTodaysnewsfromInsite();
objGetNews.PreAuthenticate = true;
objGetNews.Credentials = CredentialCache.DefaultCredentials;
objGetNews.Url = "http://insite-dev.portal/_vti_bin/todaysnews.asmx";
DataTable dt2 = objGetNews.getNewsFromInsite(true, true);

//getNewsFromInsite is a WebMethod which returns the DataTable.

Note: Both farms use the same active directory authentication. I have also done the debugging for Timer Job and feature activation and they are working fine. The problem occurs during the call i.e. getNewsFromInsite
The asmx and wsdl files are accessible from Internet Explorer and also from Windows Console application. Here is the code which I use from console application:

GetTodaysnewsfromInsiteSoapClient objWSClient = new GetTodaysnewsfromInsiteSoapClient();
objWSClient.ClientCredentials.Windows.ClientCredential = System.Net.CredentialCache.DefaultNetworkCredentials;[code]...

Here is the error message:The request failed with the error message:
--
<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="%2fPages%2fproblem-with-page.aspx%3fc%3d500">here</a>.</h2>
</body></html>

View 1 Replies

When User Back Any Previous Tab(page) The Will Be Show The Previous Data Without Loading 2nd Time?

Jul 26, 2010

I am developing a web application in ASP.NET3.5 with C#. I also using Telerik RadAjax Control. When user click the menu then open the page with a new tab(Like web Browser).I want to create, when user back any previous tab(page) the will be show the previous data without loading 2nd time( like browser tab). Is it Possible ?

View 2 Replies

Crystal Reports Objects Within Visual Studio The Full Version Or Is It A Trial Version

Nov 12, 2010

Are the Crystal Reports objects within Visual Studio (I'm using 2005) the full version or is it a trial version that is missing features?

View 1 Replies

Configuration :: How To Update The Licence For Dundas From Evaluation Version To The Licensed Version

Feb 25, 2011

We have an application that is already deployed in the production environment. And currently it is using Dundas evaluation version. We tried updating it to the licensed version by simply pasting the dll file. but we got the error message as "The file has not been pre-compiled and cannot be requested".

View 1 Replies

Firefox Version Wrong With Request.Browser.Version?

Sep 26, 2010

I'm try to get my site to detect what browser someone is using to ensure they're using one that is compliant with our site. Everything works, except Firefox seems to post the wrong version in the Request.Browser variables.I'm on Firefox 3.6.10, but Request.Browser shows Mozilla 1.9.2.10. It's correct in the HTTP_USER_AGENT string:

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.10) Gecko/20100914 YFF35 Firefox/3.6.10 ( .NET CLR 3.5.30729)

Is there a way to detect it better without having to parse through the HTTP_USER_AGENT string?

View 3 Replies

C# - FormsAuthenticationTicket.Version Returns Invalid Version Number

Mar 8, 2011

Is there any limit on the size/numbers in the version number of the FormsAuthenticationTicket.

I tried to create an ASP.NET cookie using forms authentication, with a large version number(ex: 1234567 need this number for identification purposes). But when I decrypt the cookie I get 135 as the version number.

Initially the old forms authentication cookie was removed, in order to add new information.

Response.Cookies.Remove(FormsAuthentication.FormsCookieName);

Following is the code I used to create the FormsAuthentication cookie.

FormsAuthenticationTicket newAuthTicket = new FormsAuthenticationTicket(1234567, un, DateTime.Now, DateTime.Now.AddHours(5F), false, user_data);
HttpCookie newauthCookie = new HttpCookie(FormsAuthentication.FormsCookieName, FormsAuthentication.Encrypt(newAuthTicket));
Response.Cookies.Add(newauthCookie);

After retrieving the cookie, the version number I got was 135. This number varies with different version numbers.

string cookieName = FormsAuthentication.FormsCookieName;
HttpCookie authCookie = Context.Request.Cookies[cookieName];

if (authCookie == null)
{
return;
}
FormsAuthenticationTicket authTkt = null;
authTkt = FormsAuthentication.Decrypt(authCookie.Value);
if (authTkt == null)
{
return;
}
int versionID = authTkt.Version;

Can someone let me know if it's a bad idea to use such big version numbers, or am I missing something in this.

View 1 Replies

DataSource Controls :: Version 661. This Server Supports Version 655

May 22, 2010

I have Visual Studio 2008 installed on this workstation with SQL 2000, 2005 Express, 2008 Express and I think 2008 R2 (not sure if that is a version itselve or not)

I will call that workstation HOME

I created some tables in SQLEXPRESS through VS2008.

I worked on this project on another workstation that I just installed VS2008 annd SQLEXPRESS 2008 and I know that was R2

Installed Visual Studio 2010 trial edition between the thiem I made the tables on HOME and tonight for the first time since that install

I am now getting the "cannot be opened becuase it is version Version 661. This Server supports version 655..."

What to do now?

I can opened SQLExpress 2008 management studio and it is running.

So is my SQL 2000. The problem seems to be that after the VS2010 install neither VS2008 or VS2010 can connect to the SQLExpress 2008

What do I do now?

I can't remove sql 2000 because it is tied to several 3+ gig databases that will not work in Express.

View 2 Replies

C# - How To Upgrade Ajaxcontroltoolkit Version From 3.0.20820.0 To Version 3.5.40412.2

Jan 5, 2011

i am working in webapplication in asp.net using c#.I have a problem that currently i am using ajaxcontroltoolkit version 3.0.20820.0 but in this toolkit i don't have Editor Ajax control so i want to upgrade it with new version ajaxcontroltoolkit version 3.5.40412.2

When i upgrade it then my old ajax control is not working like validatorcalloutextender and requiredfieldvalidator etc.

so please tell me how can i upgrade ajaxcontroltoolkit version from 3.0.20820.0 to version 3.5.40412.2

i also use in web.config file but not successfull.

View 1 Replies

Error: "Could Not Load Type 'Microsoft.SharePoint.WebControls.SPGridView" SharePoint 2010

Jun 15, 2010

Following error comes when creating a WebPart In sharePoint 2010 Server.

Web Part Error: Unhandled exception was thrown by the user code wrapper's Execute method in the partial trust app domain: System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.TypeLoadException: Could not load type 'Microsoft.SharePoint.WebControls.SPGridView' from assembly 'Microsoft.SharePoint, Version=14.900.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'. at ListMenuSample.ListMenuSample.ListMenuSample.CreateChildControls() at System.Web.UI.Control.EnsureChildControls() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace --- at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at Microsoft.SharePoint.UserCode.SPUserCodeWebPartWrapper.ExecuteHttpRequest(SPUserCodeWebPartHttpRequestContext webPartExecutionContext, SPUserCodeWebPartHttpResponse httpRequestResponse) at Microsoft.SharePoint.UserCode.SPUserCodeWebPartWrapper.Execute(SPUserCodeExecutionContext executionContext) at Microsoft.SharePoint.UserCode.SPUserCodeApplicationHostAppDomainRef.Execute(Type userCodeWrapperType, SPUserCodeCachedAssemblyGroup userAssemblyGroup, Guid siteCollectionId, Byte[] binaryUserCodeToken, Byte[] proxyOperationToken, SPUserCodeExecutionContext executionContext)

View 1 Replies

Forms Data Controls :: When Use The Previous Button To Navigate Back To The Previous Step The Page Reloads But At The Bottom Of The Page?

Aug 2, 2010

I'm using a wizard control with 4 steps, when I use the previous button to navigate back to the previous step the page reloads but at the bottom of the page.Instead of showning the whole of the page, the user views the footer of the site and the previous button and next button.I'm sure there is a very simple answer to this but I just can't figure out how to get the page to reload to the top.

View 8 Replies

How To Use Workflow Engine?

Jan 27, 2010

I know workfow engine is, but actually in our programming life, how can we get use of the workflow engine ?
How will workflow engine

View 3 Replies

Customer Workflow For CRM Dynamics

Jul 15, 2010

I need to create a customer workflow for CRM dynamics , I have visual studio 2010 Express edition install in my machine. I most of the examples in web says Go to Visual studio 2005 or more, then slect Workflow Project type in new project dialog box. but in express edition i cannot see workflow as a project type, is this because of express edition or do i need to run any thing to get this project types in to VS express.

View 4 Replies

.net - Best Practices For Web Application Workflow?

Jul 18, 2010

All too often I find myself being required to design pages that flow through a series of steps. 1) Select from a set of options. Submit.2) Populate a page with results. Make changes. Submit.3) Do something based on the previous results. Submit.4) Confirm previous actions. Submit.5) Goto 1.An ecommerce site with shopping cart would be a textbook example of this.Now, there are any number of ways to deal with this. My question is, what is the recommended way to do it in asp.net? In PHP or ISAPI I would just use standard html controls, get the post data and do stuff with it, each on a different page

View 3 Replies

C# - Control For Presenting Workflow?

Sep 13, 2010

I write an application in asp.net and I have something like state machine which can be modified by user (nodes, paths and directions of paths).

Is there any nice controll I can use to display this data ?

Just display, there is no need to do anything with it

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved