Click here to Skip to main content
       

Sharepoint

 
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page  Show 
QuestionHow to build the Url link to open a workflow task in browsermemberBilldoza8-Oct-12 20:41 
All I am trying to do is replicate the task email notification. The only missing part is building the "Open task" link.
Help :(
AnswerRe: How to build the Url link to open a workflow task in browsermemberihoecken8-Oct-12 22:38 
Billdoza wrote:
All I am trying to do is replicate the task email notification.

Ah - well. I don't know what you want to do. Are you talking about coding it with Visual Studio? Do you want another email notifikation in the workflow?
What is your aim?
 
Be little bit more specific.
------------------------------
Author of Primary ROleplaying SysTem
 
How do I take my coffee? Black as midnight on a moonless night.
War doesn't determine who's right. War determines who's left.

GeneralRe: How to build the Url link to open a workflow task in browsermemberBilldoza9-Oct-12 3:07 
Sorry for not being clear. I just wanted to create a link that opens the task in Visual Studio, but I have already figured it out. Thanks for the help anyway Thumbs Up | :thumbsup:
QuestionIllegal characters in path error while deploying web partmemberSANJEET KUMAR SATPATHY Delhi IN8-Oct-12 19:10 
When I am trying to build a web part in visual studio I am getting the below error.
 
Parameter "SearchPaths" has invalid value "C:\Program Files (x86)\Microsoft Chart Controls\Assemblies"\Microsoft.Web.Administration.dll". Illegal characters in path.
 
Please help to resolve this.
Sanjeet

AnswerRe: Illegal characters in path error while deploying web partmemberihoecken8-Oct-12 20:46 
SANJEET KUMAR SATPATHY Delhi IN wrote:
"C:\Program Files (x86)\Microsoft Chart Controls\Assemblies"\Microsoft.Web.Administration.dll"

Well, the " after Assemblies shouldn't be there
------------------------------
Author of Primary ROleplaying SysTem
 
How do I take my coffee? Black as midnight on a moonless night.
War doesn't determine who's right. War determines who's left.

GeneralRe: Illegal characters in path error while deploying web partmemberSANJEET KUMAR SATPATHY Delhi IN8-Oct-12 21:27 
Yes I know due to " error is coming. But my question is how to resolve this because it does not exist physically in the solution.
Sanjeet

GeneralRe: Illegal characters in path error while deploying web partmvpRichard MacCutchan9-Oct-12 5:39 
SANJEET KUMAR SATPATHY Delhi IN wrote:
it does not exist physically in the solution.
So where is it coming from? You need to provide some more detail of exactly what source line is producing this error.
One of these days I'm going to think of a really clever signature.

GeneralRe: Illegal characters in path error while deploying web partmemberSANJEET KUMAR SATPATHY Delhi IN9-Oct-12 18:11 
I am just simply creating a Web part using visual studio. After creating I am simply add some text like "Hi". After that when I am trying to build the application I am getting that error.
Sanjeet

GeneralRe: Illegal characters in path error while deploying web partmvpRichard MacCutchan9-Oct-12 21:55 
SANJEET KUMAR SATPATHY Delhi IN wrote:
when I am trying to build the application I am getting that error.
You know that repeating the same comment over again without providing the relevant source code and exact error messages does not give us any way of helping you.
One of these days I'm going to think of a really clever signature.

AnswerRe: Illegal characters in path error while deploying web partmemberihoecken8-Oct-12 22:36 
SANJEET KUMAR SATPATHY Delhi IN wrote:
But my question is how to resolve this because it does not exist physically in the solution.

Ok, sorry I misunderstood you.
 
SANJEET KUMAR SATPATHY Delhi IN wrote:
Microsoft.Web.Administration.dll

Ok, this is strange. I think there is no Microsoft.Web.Administration.dll. So perhaps there is an error in your references (or in your usings).
There is a System.Web.dll, when you include it you can use
using System.Web.Administration;
 
The searchpath is the path were the dlls are looked up.
 

SANJEET KUMAR SATPATHY Delhi IN wrote:
Parameter "SearchPaths" has invalid value

Did you added a reference-path in your project settings? It might be wrong.
------------------------------
Author of Primary ROleplaying SysTem
 
How do I take my coffee? Black as midnight on a moonless night.
War doesn't determine who's right. War determines who's left.

GeneralRe: Illegal characters in path error while deploying web partmemberSANJEET KUMAR SATPATHY Delhi IN8-Oct-12 23:21 
I am not adding any dll reference to the project. I am just simply creating a Web part using visual studio. After creating I am simply add some text like "Hi". After that when I am trying to build the application I am getting that error.
Sanjeet

GeneralRe: Illegal characters in path error while deploying web partmemberihoecken9-Oct-12 1:24 
Sorry, I've got no idea. Sniff | :^)
------------------------------
Author of Primary ROleplaying SysTem
 
How do I take my coffee? Black as midnight on a moonless night.
War doesn't determine who's right. War determines who's left.

QuestionHow to copy a page from development server to production server in sharepoint 2010 ?memberSANJEET KUMAR SATPATHY Delhi IN4-Oct-12 23:17 
After the project goes to the production server presently I have some requirement to change in a existing page and creating a new page under the site collection. I have completed my development in the development server.How I will update the same change in the production server as in the development server ?
AnswerRe: How to copy a page from development server to production server in sharepoint 2010 ?memberihoecken7-Oct-12 23:48 
SANJEET KUMAR SATPATHY Delhi IN wrote:
How I will update the same change in the production server as in the development server ?

Easy, but you should habe ask before:
SANJEET KUMAR SATPATHY Delhi IN wrote:
I have completed my development in the development server

There is no standardsolution for applying the same changes to another server so you have to do the same steps. There are different solutions for that:
 
1. You make the changes by hand, note them down and then you do the same to the production server
2. You make the changes, build a solution for it, test it and deploy the solution to the production server.
 
If the changes are very complex or you have to do them for more than one page, you should go the second way and build a solution.
------------------------------
Author of Primary ROleplaying SysTem
 
How do I take my coffee? Black as midnight on a moonless night.
War doesn't determine who's right. War determines who's left.

AnswerRe: How to copy a page from development server to production server in sharepoint 2010 ?memberSudharsan19858-Oct-12 21:11 
If the page is designed using SharePoint designer or a page created in SharePoint via browser, both the pages can be accessed via SharePoint designer. Instead of exporting and importing to the production will not work, because while exporting the designer will change some string format e.g., "<" to ";lt;". To avoid these there are two procedures you can follow to copy the pages from development to production.
 
1. Open the page in the development server and copy all the contents and paste it in the production environment.
2. Take the cmp of the library where the page resides and import it to the production.
Cheers...

QuestionError on PowerShellmemberHemadriT3-Oct-12 2:40 
Hi,

I was type the following commands in powershall.

1. Set-Alias Name:Gacutil -Value "C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\gacutil.exe"
2. Gacutil /i C:\temp\mydll.dll".

But i got the error like this..

The term 'Gacutil' is not recognized as the name of a cmdlet,function,script file or operable program,Check the spelling of the name, or if a path was included, verify that the path is correct and try again
At Line:1 Chare:8
+ Gacutil <<<< /i C:\temp\mydll.dll"
+ CategoryInfo: ObjectNotFound:(Gacutil:String) [], CommandNotFoundException
+ FullyQualifiedErrodId: CommandNotFoundException.

Thanks,
Hemadri.T
AnswerRe: Error on PowerShellmvpRichard MacCutchan3-Oct-12 4:40 
Please do not repost the same question again. If anyone knows the answer they will provide it in their own time.
One of these days I'm going to think of a really clever signature.

QuestionError on powershellmemberHemadriT2-Oct-12 5:54 
Hi,
 
I was type the following commands in powershall.
 
1. Set-Alias Name:Gacutil -Value "C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\gacutil.exe"
2. Gacutil /i C:\temp\mydll.dll".
 
But i got the error like this..
 
The term 'Gacutil' is not recognized as the name of a cmdlet,function,script file or operable program,Check the spelling of the name, or if a path was included, verify that the path is correct and try again
At Line:1 Chare:8
+ Gacutil <<<< /i C:\temp\mydll.dll"
+ CategoryInfo: ObjectNotFound:(Gacutil:String) [], CommandNotFoundException
+ FullyQualifiedErrodId: CommandNotFoundException.
 
Thanks,
Hemadri.T
AnswerRe: Error on powershellmvpRichard MacCutchan3-Oct-12 4:42 
You forgot to set your PATH variable to include the path to the Visual Studio tools.
One of these days I'm going to think of a really clever signature.

QuestionMultiple Outgoing mail serversmemberAptiva Dave27-Sep-12 4:27 
I currently have a connection to our Exchange servers for outgoing mail, but I have ran into an issue where I need to email help desk tickets to our Kace K1000 Kbox. It has its own smtp server so it can accept tickets that way. We have ran into some trouble with going through exchange and i thought about just making an smtp connection to the kbox through SharePoint (we're running foundations here). How can I add the kbox server as another mail server?
AnswerRe: Multiple Outgoing mail serversmemberihoecken27-Sep-12 6:23 
I don't know Kace, but you could use a little C# programm to access the smtp server and push the mails into a sharepoint list or library.
------------------------------
Author of Primary ROleplaying SysTem
 
How do I take my coffee? Black as midnight on a moonless night.
War doesn't determine who's right. War determines who's left.

QuestionHow to drag "WebpartUploadFiles.dll to Assembly".memberHemadriT26-Sep-12 2:47 
Hi,
I am going to drag and drop the following compiled assembly into the GAC (by default, c:\windows\assembly)
 
"WebpartUploadFiles.dll to Assembly". But i am not able to drag that webpartUploadFiles.dll to assembly.
 

 
Thanks,
Hemadri.T
AnswerRe: How to drag "WebpartUploadFiles.dll to Assembly".memberihoecken26-Sep-12 2:58 
HemadriT wrote:
But i am not able to drag that webpartUploadFiles.dll to assembly.

Did you sign the assembly?
 
Take a look at: http://blog.mediawhole.com/2008/02/deploying-sharepoint-dlls-to-gac.html[^]
------------------------------
Author of Primary ROleplaying SysTem
 
How do I take my coffee? Black as midnight on a moonless night.
War doesn't determine who's right. War determines who's left.

GeneralRe: How to drag "WebpartUploadFiles.dll to Assembly".memberHemadriT26-Sep-12 3:06 
Hi,
Yes i sign the assembly like WebpartUploadFiles.snk. And i got WebpartUploadFiles.snk in the solution explorer.
But i am not able to drag and drop WebpartUploadFiles.dll to Assembly.
 

Thanks,
Hemadri.T
AnswerRe: How to drag "WebpartUploadFiles.dll to Assembly".memberihoecken26-Sep-12 3:32 
Did you try the following powershell command?
Gacutil /i C:\temp\mydll.dll
Pretending that it is placed in temp!
------------------------------
Author of Primary ROleplaying SysTem
 
How do I take my coffee? Black as midnight on a moonless night.
War doesn't determine who's right. War determines who's left.

GeneralRe: How to drag "WebpartUploadFiles.dll to Assembly".memberHemadriT26-Sep-12 3:35 
Hi,
I dont have any idea regarding this
"Did you try the following powershell command?
Gacutil /i C:\temp\mydll.dll".
 

 
Thanks,
Hemadri.T
AnswerRe: How to drag "WebpartUploadFiles.dll to Assembly".memberihoecken26-Sep-12 4:01 
HemadriT wrote:
I dont have any idea regarding this

No Problem!
 
1. Copy mydll.dll to temp
2. Open Windows Startmenue, type "powershell" open the Windows Powershell or the SharePoint 2010 Administration Shell
3. Set alias to Gacutil, type:
Set-Alias Name:Gacutil -Value "C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\gacutil.exe"
4. Add dll to gac, type:
Gacutil /i C:\temp\mydll.dll"
5. Be ready for activating it in SharePoint Centraladministration Cool | :cool:
------------------------------
Author of Primary ROleplaying SysTem
 
How do I take my coffee? Black as midnight on a moonless night.
War doesn't determine who's right. War determines who's left.

GeneralRe: How to drag "WebpartUploadFiles.dll to Assembly".memberHemadriT26-Sep-12 4:52 
Hi,
I tryed what u told but still i am not getting.
and one more thing is
my project is saved in the following path.
"C:\Users\Administrator\Documents\Visual Studio 2010\Projects\WebpartUploadFiles\WebpartUploadFiles\"
And my assembly path is :C:\Windows\assembly".
 

Thanks,
Hemadri.T
AnswerRe: How to drag "WebpartUploadFiles.dll to Assembly".memberihoecken26-Sep-12 5:04 
HemadriT wrote:
my project is saved in the following path.
"C:\Users\Administrator\Documents\Visual Studio 2010\Projects\WebpartUploadFiles\WebpartUploadFiles\"

Well of course you can type the complete path to the dll you have build, but it would be much easier to copy the compiled dll to the temp folder.
 
And I bet the path you stated is not the complete one. Something like "\bin\Release\yourdll.dll" is missing
 
Is there an error-message given?
------------------------------
Author of Primary ROleplaying SysTem
 
How do I take my coffee? Black as midnight on a moonless night.
War doesn't determine who's right. War determines who's left.

GeneralRe: How to drag "WebpartUploadFiles.dll to Assembly".memberHemadriT27-Sep-12 3:49 
Hi,
I am really sorry to say this,I am not getting which you send
1. Copy mydll.dll to temp
2. Open Windows Startmenue, type "powershell" open the Windows Powershell or the SharePoint 2010 Administration Shell
3. Set alias to Gacutil, type:
Set-Alias Name:Gacutil -Value "C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\gacutil.exe"
4. Add dll to gac, type:
Gacutil /i C:\temp\mydll.dll".
 

Thanks,
Hemadri.T
AnswerRe: How to drag "WebpartUploadFiles.dll to Assembly".memberihoecken27-Sep-12 4:01 
Ok. No Problem!
HemadriT wrote:
1. Copy mydll.dll to temp

You take the dll-file you have just compiled from the projects bin\release folder and place it in a directory C:\temp
 
HemadriT wrote:
Open Windows Startmenue, type "powershell" open the Windows Powershell or the SharePoint 2010 Administration Shell

When you open the Windows-Startmenue type Powershell.
Windows Powershell is shown in the menue, click on it.
 
HemadriT wrote:
3. Set alias to Gacutil, type:

Set-Alias Name:Gacutil -Value "C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\gacutil.exe"

In the powershell that just has opened type the following line:
Set-Alias Name:Gacutil -Value "C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\gacutil.exe"
 
HemadriT wrote:
4. Add dll to gac, type:

Again in the powershell type:
Gacutil /i C:\temp\mydll.dll".
 
I hope, that it's now clear. For Powershell just use google - there are many examples and powershell is a powerful tool for all sharepoint admins and sharepoint developers.
------------------------------
Author of Primary ROleplaying SysTem
 
How do I take my coffee? Black as midnight on a moonless night.
War doesn't determine who's right. War determines who's left.

GeneralRe: How to drag "WebpartUploadFiles.dll to Assembly".memberHemadriT27-Sep-12 4:10 
Hi,
mydll.dll means Which i got in "bin" folder(WebpartUploadFiles.dll) right.And i am not getting "Temp" how can i get it.Sorry if i am irritate you.
 

 
Thanks,
Hemadri.T
AnswerRe: How to drag "WebpartUploadFiles.dll to Assembly".memberihoecken27-Sep-12 5:48 
HemadriT wrote:
mydll.dll means Which i got in "bin" folder(WebpartUploadFiles.dll) right.

Correct!
 
HemadriT wrote:
And i am not getting "Temp" how can i get it.Sorry if i am irritate you.

Uh! If there is no Temp folder under C:\ use the Windows Explorer to create a new folder, call it "temp".
 
HemadriT wrote:
Sorry if i am irritate you

No Problem!
------------------------------
Author of Primary ROleplaying SysTem
 
How do I take my coffee? Black as midnight on a moonless night.
War doesn't determine who's right. War determines who's left.

GeneralRe: How to drag "WebpartUploadFiles.dll to Assembly".memberHemadriT27-Sep-12 9:56 
Hi,
I created new folder like "Temp" and i past the dll which i got in "bin" folder.
I tryed the remaining part which you told but i didnt get.One more thing i need to tel you, my ddl location is
C:\Users\Administrator\Documents\Visual Studio 2010\Projects\WebpartUploadFiles\WebpartUploadFiles\bin\Debug.
But
Set-Alias Name:Gacutil -Value "C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\gacutil.exe" is different know
 
Thanks,
Hemadri.T
GeneralRe: How to drag "WebpartUploadFiles.dll to Assembly".memberHemadriT2-Oct-12 3:35 
Hi,
1. Copy mydll.dll to temp
2. Open Windows Startmenue, type "powershell" open the Windows Powershell or the SharePoint 2010 Administration Shell
 
I completed upto this.
from 3rd point onwards i tryed in powershall but i am not able to got that..
3. Set alias to Gacutil, type:
Set-Alias Name:Gacutil -Value "C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\gacutil.exe"
4. Add dll to gac, type:
Gacutil /i C:\temp\mydll.dll"
 

Thanks,
Hemadri.T
QuestionI replaced label with FieldLabel but i got an errormemberHemadriT25-Sep-12 3:54 
Hi,

'Microsoft.SharePoint.WebControls.FieldLabel' does not contain a definition for 'lblResults' and no extension method 'lblResults' accepting a first argument of type 'Microsoft.SharePoint.WebControls.FieldLabel' could be found (are you missing a using directive or an assembly reference?)
 

lblResults.Text ="Files are Uploaded to Shared Document Library";
lblResults.Font.Bold = true;
this.lblResults.ForeColor = System.Drawing.Color.Blue;
 

Thanks,
Hemadri.T
AnswerRe: I replaced label with FieldLabel but i got an errormemberihoecken25-Sep-12 4:06 
FieldLabel has no definition for .Text or .Font or .ForeColor.
 
For usage take a look at http://zieglers.wordpress.com/2010/04/08/dynamically-creating-form-controls-in-sharepoint/[^]
 
Alternatively use LiteralControl, it's a little bit easier to use. As it's included in HTML Code I think you should HTML-Tags to change Font or Color.
------------------------------
Author of Primary ROleplaying SysTem
 
How do I take my coffee? Black as midnight on a moonless night.
War doesn't determine who's right. War determines who's left.

QuestionUI doesnt exit in the namespace,Even i added "using System.Web"memberHemadriT25-Sep-12 3:21 
Hi,
public class WebpartUploadFiles : System.Web.UI.WebControls.WebParts.WebPart
 

 
Thanks,
Hemadri.T
AnswerRe: UI doesnt exit in the namespace,Even i added "using System.Web"memberihoecken25-Sep-12 3:40 
You don't have to doublepost. I answered it already. Take a look, then you see it. Smile | :)
------------------------------
Author of Primary ROleplaying SysTem
 
How do I take my coffee? Black as midnight on a moonless night.
War doesn't determine who's right. War determines who's left.

GeneralRe: UI doesnt exit in the namespace,Even i added "using System.Web"memberHemadriT25-Sep-12 3:56 
Thanka a lot..........
QuestionWhen i build the project i got Errors like bellowmemberHemadriT25-Sep-12 2:44 
Hi,
Error 1 The type or namespace name 'UI' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
Error 2 The type or namespace name 'Label' could not be found (are you missing a using directive or an assembly reference?)
 

Thanks,
Hemadri.T
AnswerRe: When i build the project i got Errors like bellowmemberihoecken25-Sep-12 3:00 
HemadriT wrote:
Error 1 The type or namespace name 'UI' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)

Did you added reference to System.Web? After that include "using System.Web.UI".
 

HemadriT wrote:
Error 2 The type or namespace name 'Label' could not be found (are you missing a using directive or an assembly reference?)

There is no Label in "Microsoft.SharePoint.WebControls" nor in "System.Web.UI". Do you want to use FieldLabel?
 
By the way, if the answers help you, feel free to state that or vote up. I get never feedback from you and I try really hard to help you. Roll eyes | :rolleyes:
------------------------------
Author of Primary ROleplaying SysTem
 
How do I take my coffee? Black as midnight on a moonless night.
War doesn't determine who's right. War determines who's left.

QuestionDidnt get Microsoft.SharePoint.WebControlsmemberHemadriT24-Sep-12 7:48 
Hi,
•Add the following references by right clicking on the WebpartUploadFiles project and clicking on “Add Reference”: Microsoft.SharePoint and Microsoft.SharePoint.WebControls.But i didt get Microsoft.SharePoint.WebControls in that list.
 

Thanks,
Hemadri.T
AnswerRe: Didnt get Microsoft.SharePoint.WebControlsmemberihoecken25-Sep-12 0:09 
HemadriT wrote:
But i didt get Microsoft.SharePoint.WebControls in that list.

Of course not. Microsoft.SharePoint.WebControls is part of the package Microsoft.SharePoint.
 
Add reference to Microsoft.SharePoint then include the namespaces:
using Microsoft.SharePoint;
using Microsoft.SharePoint.WebControls;
------------------------------
Author of Primary ROleplaying SysTem
 
How do I take my coffee? Black as midnight on a moonless night.
War doesn't determine who's right. War determines who's left.

Questionsoftware requirementmemberHemadriT20-Sep-12 4:20 
Hi,
In my page i am going to create icons like NEW,UPLODE,SETTINGS.For these i need to do some custom logic.Consider all these things
SHAREPOINT FOUNDATION 2010 is enough or
SHAREPOINT SERVER 2010 IS NEED.
 

Thank you,
Hemadri.T
QuestionSoftware requirementmemberHemadriT20-Sep-12 2:33 
Hi,
I am going to create new website like Shared doucumet. In that first page i want to create new icons like NEW,UPLOAD, ACTIONS.When i click "NEW" it seems create new folder, "UPLOAD" for uploading documents...These three icon i need to create in the top of the page itself.And i am going to create few accounts for access these shared document.For these and all SHAREPOINT FOUNDATION2010 is enough or i need to go SHAREPOINT SERVER2010.
 

Thanks,
Hemadri.T
AnswerRe: Software requirementmemberihoecken20-Sep-12 4:10 
If these are the only requirements, SharePoint Foundation 2010 should be enough.
------------------------------
Author of Primary ROleplaying SysTem
 
How do I take my coffee? Black as midnight on a moonless night.
War doesn't determine who's right. War determines who's left.

Questionhow do people manage a separate development server and a production servermemberRocky#20-Sep-12 1:22 
Hello everyone,
 
I'm trying to figure out how people manage to have a separate development server and a production server environment when they do SharePoint development. There are some obvious ways of deploying Web parts but how do you synchronize a Site or a Site Collection where you do things like customizing a Document Library by creating some Site Columns in a content type hub for instance. I mean you can't always do changes in a live environment right. So please elaborate a bit on this.
 
Kind regards,
Rocky
 
My Blog

AnswerRe: how do people manage a separate development server and a production servermemberihoecken20-Sep-12 1:35 
When you have a development server all new features will be installed there first and after they work fine, they'll finde their way to the production server.
So the except for the content, the features are the same.
If you need the same content, you can clone the production server instead of installing a development server, make backups from the production server and restore them to the development server.
But I wouldn't see, why you should do that. You never need all the content to test, do you?
------------------------------
Author of Primary ROleplaying SysTem
 
How do I take my coffee? Black as midnight on a moonless night.
War doesn't determine who's right. War determines who's left.

QuestionJSGrid SharePoint 2010memberkish's20-Sep-12 1:21 
how to add column of type drop down list with type checkbox list in sharepoint JSGrid custom column

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   


Advertise | Privacy | Mobile
Web02 | 2.6.130617.1 | Last Updated 18 Jun 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid