 |

|
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.
|
|
|
|

|
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.
|
|
|
|

|
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
|
|
|
|

|
Sorry, I've got no idea.
------------------------------
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.
|
|
|
|

|
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 ?
|
|
|
|

|
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.
|
|
|
|

|
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...
|
|
|
|

|
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
|
|
|
|

|
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.
|
|
|
|

|
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
|
|
|
|

|
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.
|
|
|
|

|
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?
|
|
|
|

|
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.
|
|
|
|

|
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
|
|
|
|
|

|
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
|
|
|
|

|
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.
|
|
|
|

|
Hi,
I dont have any idea regarding this
"Did you try the following powershell command?
Gacutil /i C:\temp\mydll.dll".
Thanks,
Hemadri.T
|
|
|
|

|
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
------------------------------
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.
|
|
|
|

|
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
|
|
|
|

|
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.
|
|
|
|

|
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
|
|
|
|

|
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.
|
|
|
|

|
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
|
|
|
|

|
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.
|
|
|
|

|
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
|
|
|
|

|
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
|
|
|
|

|
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
|
|
|
|
|

|
Hi,
public class WebpartUploadFiles : System.Web.UI.WebControls.WebParts.WebPart
Thanks,
Hemadri.T
|
|
|
|

|
You don't have to doublepost. I answered it already. Take a look, then you see it.
------------------------------
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.
|
|
|
|
|

|
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
|
|
|
|

|
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.
------------------------------
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.
|
|
|
|

|
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
|
|
|
|

|
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.
|
|
|
|

|
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
|
|
|
|

|
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
|
|
|
|

|
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.
|
|
|
|

|
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,
|
|
|
|

|
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.
|
|
|
|

|
how to add column of type drop down list with type checkbox list in sharepoint JSGrid custom column
|
|
|
|

|
Hi,
Is Sharepoint Foundation2010 is enough for creating Custom Shareddocument or we need to go Sharepoint server2010.
Thanks&Regards,
Hemadri.T
|
|
|
|

|
HemadriT wrote: Is Sharepoint Foundation2010 is enough for creating Custom Shareddocument or we need to go Sharepoint server2010.
Well, there are different definitions for "Shared Documents", depending on whom you listen.
Shared document Libraries are libraries for anybody with access to a WebSite. This is of course possible in any Edition.
If you want a document library for anybody you can define a WebSiteCollection with public access or login access. There you can setup a library with public access of course.
If you want something other, please be 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.
|
|
|
|

|
How can I create a workflow in sharepoint foundation that can approve by multiple person.For example approve by HR Manager, than approve by Accounts Manager.Also I want to Modify the task form to modify list item.
Thanks in adv.
|
|
|
|

|
Sukanta Saha wrote: How can I create a workflow in sharepoint foundation that can approve by multiple person.For example approve by HR Manager, than approve by Accounts Manager
Instead of using the appoval-workflow I would design a new workflow.
First should be generated a task for the HR Manager (by example). When he "approves" you shouldn't set the state to approved but for example to "firstapprove". Then the workflow should generate a task for the next person, when he approves the state is set to "seconsapprove" and so on.
Just when the last in the row accepts the document the approval-state will be set to "approved".
Sukanta Saha wrote: Also I want to Modify the task form to modify list item.
What do you want to change? The approval-form?
And what changes? Just the buttons or a remark?
You can use the SharePoint Designer for that.
Other changes might need complete new forms, you can generate with Visual Studio and that can be linked by Visual Studio, too.
------------------------------
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.
|
|
|
|

|
hi i recently faced one issue when i try to restore the backup in new cloud share environment "yourbackup is from a different version of microosoft sharepoint foundation and cannot be restored to a serrver runniing the currentt version" please give me the detailed steps to fix this problem
SharePoint 2010 Enterprise SP1 W/ Duet
Description: OS: Windows Server 2008 R2 x64 SP1
Spec: 80 GB HD / 8 GB RAM
Installed:
• Duet Enterprise for SharePoint and SAP Server 1.0
• SQL Server 2008 R2 Standard
• Visual studio 2010 Professional
• SharePoint Designer
• Office WebApps SP1
• Office Professional Plus 2010 SP1
• Visio 2010 Premium Edition
• Adobe Reader
these are installed s/w h/w requirements.
prakash1636
|
|
|
|

|
So from which Version is the Backup and to which Version goes the Backup? (to SharePoint 2010 Enterprise?)
That would be important to know.
------------------------------
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.
|
|
|
|

|
I have an SPFieldUserValue object and I was wondering how I can use that to get a user's phone number, if it is populated in Active Directory.
|
|
|
|

|
You have to Synchronize Sharepoint with the AD. Therefore is the "User Profile Service". You can setup it so that it gets data from the AD or write it back, if you want to. You can even set, which data will be synchronized.
------------------------------
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.
|
|
|
|
 |