Thursday, April 26, 2012

Unable to Run Desinger Workflows


Hi all ,Few of of our blog members and some of the members in my Skype question me number of times on Designer work-flows. As when ever they add new item in the list workflow in unable to start,They are not able to run any workflow when they used designer work-flows .

Solution

*Add new user to u r PC\Laptop
* Allot the new user as Owner of the site
*Restart the System
*And add item in the list.And this time the work-flows get's run

Thursday, April 5, 2012

The trial period for this product has expired. sharepoint foundation 2010

Hi All, few days back when I open my SharePoint 2010 Site I got information as below,But I have genuine key installed

The trial period for this product has expired.
Troubleshoot issues with Microsoft SharePoint Foundation.
Correlation ID: 6121d751-5f37-4ab0-9bbb-df56adeeae2e

In central admin go to "Central Admin" => Monitoring => "Review Rule Definitions" => click on "Trial period for this product is about to expire" rule under configuration and edit it. Uncheck the "Enabled" check-box.

Thursday, March 29, 2012

Command To Convert dbf file into SharePoint 2010 Lit

Recently I have received the dbf data I need to get data into SP-list ,I worked hard to convert this I got a command i.e converts dbf file into sql and from sql using external data I brought into SP list below is the Command .Open the command prompt and run the below syntax

dbfcommander.exe -e
example:
dbfcommander.exe -e "D:\Data\customer.dbf" "D:\customer.sql"

Convert Windows Authentication Web Application Into FBA

The is a lot of dereference between windows Authentication and FBA Authentication .If you have done the project in classic Authentication and want to convert it into Claims in the middle of the project then you open the SharePoint 2010 powershell command as administratior and run the below command

$ConvertApp=get-spwebapplication "URl"
$ConvertApp.useclaimsauthentication="True"
$ConvertApp.Update()

Best way to Upload Images in asp.net

Hi all,
Some of our blog members are working on asp.net ,I am receiving the information most of the times about uploading the Images in asp.net as far as I am concern below code is the best way to upload the image which accepts any extension.

string imgname = FileUpload1.FileName;
string path =Server.MapPath ("~/Images")+"//"+imgname;
FileUpload1.SaveAs(path);
Image1.ImageUrl = "Images/" + FileUpload1.PostedFile.FileName;

Saturday, March 24, 2012

Adding DLL files into Global Cache in Windows 7

1. You must be a member of the Administrator Group.

2. Navigate to "C:\Windows\assembly" in the explorer and right click on it and select "Open in new window".

3. Type 'cmd' in run and as it appears in the top, right click on it and select "Run as administrator".

4. In the command prompt navigate to "C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\x64"

5. Now use the following command: gacutil -i "full path of the file system\XYZ.dll"

6. You will get a message "Assembly successfully added to the cache"

7. Refresh the assembly folder that you have opened in step 2 and you will find your applications assembly there.

Unhandled exception occurred in Silverlight Applications in SharePoint 2010

"unhandled exception occurred in Silverlight Applications".This is error where we frequently get when we try to create any template selecting "more options" from site settings.This solution can be solved easily by going to Central Admin->Web Applications ->General Settings.Then your general settings web page security validation will be in on as below image,You just turn it to "off" else if it is "Off" turn it to "On"