Site crashes when a web part is added
SharePoint site crashes while adding a list web part to site. any suggestion to make this web part work.
Unhandled exceptions in the web part crashes the page. Use try catch and assign the exception to a label on the webpart..
for example:
protected void Page_Laod(object sender, EventArgs e)
try
// your code
catch(Exception ex)
Label1.Text = ex.Message;
Now you should be able to see the error on the webpart label.
Also you can append ?contents=1 in the page url, and delete the webpart on the page.
Similar Messages
-
Get the current context of the site where web-part is added in the same site collection
Hi,
I'm creating a visual web-part in SharePoint 2013 using server object model (can't user COM as the code will run on the same server) to get all the members of "Members" group of the site/web wherever this web-part
will be added (in the same site-collection), so it will take the context of the site wherever it is added.
For Eg: I have a site collection "http://<Server_name>/sites/Finance" OR "http://<Server_name>/sites/Finance/Microsoft" OR some other subsite. I have used SPContext.Current property to get the current context
, but no success :( .
I tried in SPSite: SPContext.Current.Site ; new SPSite(SPContext.Current.Web.URL) and many other combinations with SPSite.
in SPWeb : site.openweb()
But I'm always getting the URL as "http://<Server_name>/" and not the context where the web-part is added in the same site collection.
Vipul JainHi Bjoern,
Thanks for the reply. I'm able to get the access of members group through API's. Just wanted to know about the context in SPSite & SPWeb. As you suggested , is there no need to use SPSite ?
using (SPWeb web = SPContext.Current.Web)
SPGroup membersGroup = web.Groups[web.Name + " Members"];
SPUserCollection lstMembers = web.Groups[web.Name + " Members"].Users;
foreach (SPUser member in lstMembers)
// add all the group users to the list
users.Add(member.Name);
It's not working
Vipul Jain -
Site "crashes" when attempting to return to inbox after full scan and numerous crash reports.
Problem just began on 1/25/13. Can view any site on hotmail window or web browser. When finished with site and attempt to return to Firefox site by either X in viewed site or back arrow site crashes and comes up with a crash report site.
I have been sending reports and then attempting to reconnect using reconnect. No solution.
I now cancel reconnect to return to Firefox Mozilla and then hit Hotmail in Most viewed.
Very clumsy.
Please advise simple and easy to UNDERSTAND for non teckie.
thanksI was able to enter "about crashes" it referred me back to your directions about an "address bar".
You have to be very simple with me. I have entered the requested information on every place I could on your web browser with no joy.
Where exactly on you site do I enter "about crashes"?
The "address bar" is not noted on my computer or in any help source that I have attempted to find. Please bear with me, I am just a user and not a skilled one at that. I enter sites wherever I can get results.
As an afterthought, your web browser only shows 3 or 4 places to enter requests:
1. standard web addresses
2. search requests
3. Foxfire requests (in center of page).
Again I have tried all 3 with no joy and a lot of frustration. My research shows that the requested information would be very helpful but does not tell me how to access (for "dummies")
thanks again -
Robohelp 9 crashing when generating Web Help
Hi there, I have RH V 9.0.1.232 installed. I have a project with about 1000 files which was converted from RH 8 without issue until now.
There are 3 Conditional Build Tags. I can publish the project to Web Help with layouts including tags #1 and #2, but when I include #3 in any layout, RH crashes at the same point every time, as shown below:
I have tried leaving it for over an hour without change. When I open Task Manager, RH is listed as "Not Responding." I do not get an error message at all. I have not generated this layout in several months, and possibly not since I have had RH 9.
Tag #3 must be applied to hide content from a public audience. This tag is applied to several sections in every topic, and is also applied at the topic level for about 20% of the topics.
Here is what I've tried to do:
1. Create a test project with multiple tags and publish to WebHelp - no issue found.
2. Rolled the project folder back to an earlier version from yesterday morning - problem still exists, could try an earlier version but a lot of work was done yesterday.
3. Followed the instructions here, which have served me well in the past - problem still exists- http://www.techfuels.com/software-jargons/29202-repairing-corrupted-robohelp-project.html
All of this leads me to think there is something wrong with the tag in particular. I could delete the tag, create a new one and reapply it, but that would be a major challenge considering the number of topics I'm dealing with, and I am the lone writer.
Anyway, if anyone has any ideas or has had problems like this in the past, I would appreciate your time.
Thanks,
MichelleMichelle I think that whilst thanks are always welcome, in this case you should thank yourself. All I did you get you to question what had changed. You did all the hard graft. Glad you got it sorted.
The RoboColum(n)
@robocolumn
Colum McAndrew -
Site crashes when trying to open a music file
On this site for about four months or more, when I try to open most music files, the site instantly crashes. The music software is called Scorch.
== URL of affected sites ==
http://www.sibeliusmusic.com/Hello Kim KNOPP,
please get me a Firefox crash '''report ID''' (a report ID normally starts with ''bp-'') by following the instructions mentioned in the [[Firefox crashes]] article.
Thanks in advance!
Kind regards,
Tobbi
Firefox Support Volunteer -
Content Viewer Crashes When Viewing Web Content
Hi,
I'm having issues with the folio Content Viewer crashing before web pages fully load my hyperlinks. I need to proof the folio with the client before we can publish, so I need everything to be working and know that the final app will not have the same issue.
I've set up buttons that link to coordinates on Google Maps. When a button link is clicked, the web viewer begins to load then immediately disappears (sliding to the bottom of the screen before the web content finishes loading) or crashes the Content Viewer completely.
I searched the forums and did not really find any solutions, other than when using a lot of images, they need to be sized/sampled down to use less memory. My folio does have a few articles that use quite a few images, so I've sampled everything down to 72dpi and noticed a slight increase in loading speed when loading each article. At first I thought this fixed the issue as the maps were loading for me, but after switching articles, it's crashing again.
If anyone has come across this and has a solution, please help me out!
Thanks,
SFound a solution.
https://blogs.adobe.com/indesigndocs/2013/06/memory.html
Hopefully this helps someone else.
Cheers!
S -
IWeb 09 site crashes when browses via Safari
Hi
I recently found that when I visit my own iWeb made site via Safari, like a good boy, all Apple Safari suddenly quits on nearly every visit.
Any help or advice as to why this is happening, I heard of IE crashing on iWeb made sites, but Safari
should browse seemlessly, one would have thought
Kind regards
Message was edited by: brendan67Aaaaah..... Now I remember. I thought you would have learned sense by now and switched to rangerstalk.net !
Your site loads fine, and fast, in Safari for me. I'm using V 5.0.2. This version of Safari has a number of issues and I hope there's a fix on the way. I find myself using Chrome more and more and can't wait until it comes out of beta.
Is it just your own site that crashes Safari or has it happened with others? -
Error occur when importing web part using Client Object Model API
i try to update webpart properties using Client API for some view and form pages. and the following error occured:
view: /sites/metadata des02/frank metadata library/Forms/Thumbnails.aspx
ERROR 03-06 05:36:47,720 Microsoft.SharePoint.Client.ServerException: The specified program requires a newer version of Windows. (Exception from HRESULT: 0x8007047E)
at Microsoft.SharePoint.Client.ClientRequest.ProcessResponseStream(Stream responseStream)
at Microsoft.SharePoint.Client.ClientRequest.ProcessResponse()
at Microsoft.SharePoint.Client.ClientRequest.ExecuteQueryToServer(ChunkStringBuilder sb)
at Microsoft.SharePoint.Client.ClientRequest.ExecuteQuery()
at Microsoft.SharePoint.Client.ClientRuntimeContext.ExecuteQuery()
at Microsoft.SharePoint.Client.ClientContext.ExecuteQuery()
/sites/metadata des02/frank metadata library/Forms/Combine.aspx, ERROR 03-06 05:36:53,235 Microsoft.SharePoint.Client.ServerException: The specified program requires a newer version of Windows. (Exception from HRESULT: 0x8007047E)
at Microsoft.SharePoint.Client.ClientRequest.ProcessResponseStream(Stream responseStream)
at Microsoft.SharePoint.Client.ClientRequest.ProcessResponse()
at Microsoft.SharePoint.Client.ClientRequest.ExecuteQueryToServer(ChunkStringBuilder sb)
at Microsoft.SharePoint.Client.ClientRequest.ExecuteQuery()
at Microsoft.SharePoint.Client.ClientRuntimeContext.ExecuteQuery()
at Microsoft.SharePoint.Client.ClientContext.ExecuteQuery()
/sites/metadata des02/frank metadata library/Forms/Upload.aspx,
ERROR 03-06 05:36:55,204 Microsoft.SharePoint.Client.ServerException: Exception has been thrown by the target of an invocation.
at Microsoft.SharePoint.Client.ClientRequest.ProcessResponseStream(Stream responseStream)
at Microsoft.SharePoint.Client.ClientRequest.ProcessResponse()
at Microsoft.SharePoint.Client.ClientRequest.ExecuteQueryToServer(ChunkStringBuilder sb)
at Microsoft.SharePoint.Client.ClientRequest.ExecuteQuery()
at Microsoft.SharePoint.Client.ClientRuntimeContext.ExecuteQuery()
at Microsoft.SharePoint.Client.ClientContext.ExecuteQuery()
/sites/metadata des02/frank metadata library/Forms\EditForm.aspx ERROR 03-06 05:36:56,470 Microsoft.SharePoint.Client.ServerException: Exception from HRESULT: 0x80131904
at Microsoft.SharePoint.Client.ClientRequest.ProcessResponseStream(Stream responseStream)
at Microsoft.SharePoint.Client.ClientRequest.ProcessResponse()
at Microsoft.SharePoint.Client.ClientRequest.ExecuteQueryToServer(ChunkStringBuilder sb)
at Microsoft.SharePoint.Client.ClientRequest.ExecuteQuery()
at Microsoft.SharePoint.Client.ClientRuntimeContext.ExecuteQuery()
at Microsoft.SharePoint.Client.ClientContext.ExecuteQuery()Hi Ramakrishnaraja,
here is the code snippet:
using (ClientContext context = new ClientContext("https://frankkk.sharepoint.com/sites/metadata des02"))
context.Credentials = spoc as SharePointOnlineCredentials;
File webPartPage = context.Web.GetFileByServerRelativeUrl("/sites/metadata des02/frank metadata library/Forms/EditForm.aspx");
List list = context.Web.Lists.GetByTitle("frank metadata library");
LimitedWebPartManager limitedWebPartManager = webPartPage.GetLimitedWebPartManager(PersonalizationScope.Shared);
context.Load(webPartPage);
context.Load(limitedWebPartManager);
context.Load(limitedWebPartManager, manager => manager.WebParts);
if (list != null)
context.Load(list, l => l.Views.IncludeWithDefaultProperties(v => v.ViewFields.SchemaXml));
context.ExecuteQuery(); -
Final cut crashes when Live Type credit is added
Hi
I have FCP HD 4.5 A while back it kept crashing on me whilst opening, so I stopped using it. Tried it again over the weekend and it loaded, success! Cut a project together without any issues, but now when I try to add Live Type credits (not my forte) FCP crashes. Have tried dragging credit from the desktop and the regular import file option, but each time it crashes instantly. In the case of dragging the credit icon into FCP, it crashes the moment the icon touches the timeline. I'm relatively new to FCP but I'm fairly sure I haven't done anything different to my other projects.
Any help with this matter would be greatly received
OzHi Adrenaline Crew
Thanks for the tip. Basically I wasn't rendering the credit first, just saving it to my desktop and dropping it into the film. I guess that was coursing the problem (sure I had started doing that before and all was well) Once rendered, and saved, like you said as diff, credit dropped into the project just fine.
Thanks again for your time. Now I suppose I have to get on with my work
Cheers friend -
I crated web parts in the sub-sites (we have about 10 subsites) using sharepoint designer from a main list in another site. Then used web part to show only the ubsite's reports - using connection to the main list. Problem is, the connection
is dropping off and showing all the reports on the main list that are confidential. this has happened 3 time lately. Could someone explain why it happens some times? I had to fix it by adding the web part again and connecting it
Thanks, Subathy.Hi George,
If you want to use a top level site "department" list column in all sub-sites, you can go to top level site and create a
lookup type "Site column" to look up the value from the department list, then all sub-sites can use this lookup type site column created in top level site.
Thanks
Daniel Yang
TechNet Community Support -
Crash when updating site cache? MM_Username1?
Hi,
All of a sudden, tonight, DW8.0.2 will no longer open or load
one of my
sites, crashing when "Updating Site Cache". The site is ASP
linked to an SQL
database.
Checking the file that the cache gets to, I notice that the
problem file is
within a sub-directory of the site, called "/admin". Thing is
though, it's
not always the same file, but it IS always a file within the
/admin
sub-directory.
Within this sub-directory I altered, by hand, the Login User
code and
Restrict Access to Page code to create and use the session
variable
MM_Username1 as opposed to the default MM_Username.
Could this be the reason for the sudden trouble with the site
cache? I am
puzzled because the site was working fine for a few weeks
now, with this
sub-directory included, and I didn't create the MM_Username1
issue today
either, it has also been working fine for a good few weeks
now. I've also
not added anything new to the site, that I am aware of.
When I remove the sub-directory from the site, the Updating
Site Cache works
fine, so I am 100% sure there is a problem with the files
within this
sub-directory. How will I know which one though?
I've tried this, as recommended by Adobe, but I still get a
freeze-up when
re-creating the cache:
1. Try renaming the Dreamweaver user configuration folder, so
that
Dreamweaver will automatically generate a new user
configuration folder the
next time Dreamweaver launches. The Configuration folder is
located here:
C:\Documents and Settings\<username>\Application
Data\Macromedia\Dreamweaver
8\Configuration
2. Recreate your Dreamweaver user settings in the registry as
follows:
Launch the Registry Editor by clicking the Start button,
choose Run, then
type "regedit". In the Registry Editor, navigate to this
folder:
HKEY_CURRENT_USER\Software\Macromedia\Dreamweaver 8
Rename the "Dreamweaver 8" key to "DreamweaverOLD", so that
Dreamweaver will
automatically generate a new user settings key the next time
you launch it.
3. Recreate your Dreamweaver site definitions in the registry
as follows.
The steps below will delete your site definitions in
Dreamweaver.
4. Launch the Registry Editor by clicking the Start button,
choose Run, then
type "regedit". In the Registry Editor, navigate to this
folder:
HKEY_CURRENT_USER\Software\Macromedia\Common\8\Sites
Rename the "Sites" key to "SitesOLD", so that Dreamweaver
will automatically
generate a new Sites key the next time you launch it.
Any further advice?
Regards
nath.Found it! Jeesh.
I had a querystring value in my UPDATE redirect URL which was
coded
incorrectly!!!
I am frustrated that, rather than just highlighting the error
or, at the
very least, producing an error when opening the specific
file, this type of
thing crashed the entire DW programme.
The time I spent in Notepad today changing MM_Username1 back
to
MM_Username!! Turns out that was nothing to do with it.
<groan> Yeah,
that's right, laugh it up! :o)
Anyway, solved now. A misplaced ", %, ), (, <, >, &
etc can cause you no
end of grief! :o(
Nath.
"tradmusic.com" <[email protected]> wrote in
message
news:[email protected]...
> Hi,
> All of a sudden, tonight, DW8.0.2 will no longer open or
load one of my
> sites, crashing when "Updating Site Cache". The site is
ASP linked to an
> SQL database.
> Checking the file that the cache gets to, I notice that
the problem file
> is within a sub-directory of the site, called "/admin".
Thing is though,
> it's not always the same file, but it IS always a file
within the /admin
> sub-directory.
>
> Within this sub-directory I altered, by hand, the Login
User code and
> Restrict Access to Page code to create and use the
session variable
> MM_Username1 as opposed to the default MM_Username.
> Could this be the reason for the sudden trouble with the
site cache? I
> am puzzled because the site was working fine for a few
weeks now, with
> this sub-directory included, and I didn't create the
MM_Username1 issue
> today either, it has also been working fine for a good
few weeks now.
> I've also not added anything new to the site, that I am
aware of.
>
> When I remove the sub-directory from the site, the
Updating Site Cache
> works fine, so I am 100% sure there is a problem with
the files within
> this sub-directory. How will I know which one though?
>
> I've tried this, as recommended by Adobe, but I still
get a freeze-up when
> re-creating the cache:
>
> 1. Try renaming the Dreamweaver user configuration
folder, so that
> Dreamweaver will automatically generate a new user
configuration folder
> the next time Dreamweaver launches. The Configuration
folder is located
> here: C:\Documents and
Settings\<username>\Application
> Data\Macromedia\Dreamweaver 8\Configuration
>
> 2. Recreate your Dreamweaver user settings in the
registry as follows:
>
> Launch the Registry Editor by clicking the Start button,
choose Run, then
> type "regedit". In the Registry Editor, navigate to this
folder:
> HKEY_CURRENT_USER\Software\Macromedia\Dreamweaver 8
> Rename the "Dreamweaver 8" key to "DreamweaverOLD", so
that Dreamweaver
> will automatically generate a new user settings key the
next time you
> launch it.
>
> 3. Recreate your Dreamweaver site definitions in the
registry as follows.
> The steps below will delete your site definitions in
Dreamweaver.
>
> 4. Launch the Registry Editor by clicking the Start
button, choose Run,
> then type "regedit". In the Registry Editor, navigate to
this folder:
>
> HKEY_CURRENT_USER\Software\Macromedia\Common\8\Sites
>
> Rename the "Sites" key to "SitesOLD", so that
Dreamweaver will
> automatically generate a new Sites key the next time you
launch it.
>
> Any further advice?
> Regards
> nath.
> -
Since EchoSign for Sharepoint (the web part) is basically worthless with any site over 2500 documents, we have broken up our sites so that the web part can successfully traverse the site without timing out. However, within the web part, there is an option (two green arrows) to synch with SharePoint. Unfortunately, users can sync any document from EchoSign to a SharePoint library. I dont want the users synching documents that dont belong in that library. Are there any settings or coding that will allow only the syncing, or actually auto sync the documents, to within the same site?
Hi Ben,
Please refer the doc: https://echosign.my.salesforce.com/sfc/p/#300000006IaDOWUzLXIiAnH9NO8_F9WhM_gpxBs
for EchoSign integration with Sharepoint.
Regards,
Rave -
This error IS on the WEB PART GALLERY itself. I have dealt with it on other libraries by deleting the listview web part and adding a dataview web part.
However, if you try to add a dataview web part the web part gallery the gallery is not available under lists or libraries so their is no way to add.
I have also tried creating other views as suggested by some articles
I have the view application pages permission as suggested by other articles.
I believe I have read every article related and am unable to find an answer.
Any help on this would be appreciated.
As a side note, I have an option called "Manage Columns" when I go into the library settings for the Web Part Gallery. Is this normal or is it some sort of add on.
Thanks for listening ==Lee
--LeeSame problem, but with sharepoint 2013 after upgrade. Will post if i find a solution.
Seems like it is getting a 401 error on some URLs from fiddler. Here is a working list on a different site, same web application. the 200s are the working list and the 401s are the non working ones.
# Result Protocol Host URL Body Caching Content-Type Process Comments Custom
69 401 HTTP WEBSITE.DOMAIN.COM /LIST1_BROKEN/_layouts/15/inplview.aspx?Cmd=Ctx&List={3B84632C-53EB-48EC-AF99-8616808BA2F3}&View={4A1F6B9A-F58A-4D02-9820-9145D056B4F2}&ViewCount=1&ID=8631&ListViewPageUrl=http://WEBSITE.DOMAIN.COM/LIST1_BROKEN/Lists/servicerequests/OpenSRs.aspx 0 private iexplore:4116
# Result Protocol Host URL Body Caching Content-Type Process Comments Custom
71 401 HTTP WEBSITE.DOMAIN.COM /LIST1_BROKEN/_layouts/15/commandui.ashx?ver=-1271193892&id=Ribbon.Read&lcid=1033&qt=ribbonvisibletabdeep 0 private iexplore:4116
# Result Protocol Host URL Body Caching Content-Type Process Comments Custom
66 200 HTTP WEBSITE.DOMAIN.COM /LIST2_WORKS/_layouts/15/inplview.aspx?Cmd=Ctx&List={62DF59D0-5426-49A7-8ED0-CB40DF3B7940}&View={D053E0B9-88D0-4540-B95A-DF15B8D339AD}&ViewCount=1&ID=4216&ListViewPageUrl=http://WEBSITE.DOMAIN.COM/LIST2_WORKS/Lists/servicerequests/ByAssignedTo.aspx 2,145 no-cache; Expires: -1 text/html; charset=utf-8 iexplore:3240
# Result Protocol Host URL Body Caching Content-Type Process Comments Custom
67 200 HTTP WEBSITE.DOMAIN.COM /LIST2_WORKS/_layouts/15/tenantappinfo.ashx?etag=0&lcid=1033 4,509 private text/html; charset=utf-8 iexplore:3240 -
Status of DataView Web Part in SharePoint 2013
I hope this is a simple question but I'm stumped. What is the status of the DataView Web Part in SharePoint 2013? I am working on a migration of our site from SP 2010 to SP 2013. We previously had a DataView Web Part which is used widely on our site. It
is not showing up and the error is "Type type could not be found or it is not registered as safe." When I try to add a new copy of this web part, I get the message "The type Microsoft.SharePoint.WebPartPages.DataViewWebPart....PublicKeyToen=71e9bce111e9429c"
could not be found or it is not registered as safe.
I'm not the Farm Admin is this case, so my question is whether the web.config needs to be edited to make this usable, or something else perhaps. Or am I simply out of luck using this in SharePoint 2013.
Any help is appreciated!I suspect you will need to compare the web.config files on the new 2013 system to the ones on the old 2010 system and evaluate the differences. The safecontrol entry is in my default 2013 environment. If its not in yours it will need to be added.
For any web part to work you need three things:
A safe control entry in the web.config
A .dll that contains the code that generates the html displayed when the web part is rendered.
A .dwp or .webpart file in the web part gallery that contains info about what class and .dll to use
#3 should be in the content database you are migrating. YOu'll need to verify that #1 & #2 exist.
Paul Stork SharePoint Server MVP
Principal Architect: Blue Chip Consulting Group
Blog: http://dontpapanic.com/blog
Twitter: Follow @pstork
Please remember to mark your question as "answered" if this solves your problem. -
Script Editor web part automatically deletes itself
Hello Community
On a Team Site there is a web part in a web part zone on a page
and a Script Editor web part was also added to the web part zone.
After the Script Editor web part was added CSS code was inserted into
the Script Editor web part and the page worked fine.
Then soon after modifying some other parts of the page
when I run the page some more the Script Editor web part vanishes even
though I never touched it again because that web part worked fine.
What could make a web part to delete from a web part zone on a page?
Thank you
ShabeautHi,
Thanks for your Sharing.
Best Regards,
Lisa Chen
Lisa Chen
TechNet Community Support
Maybe you are looking for
-
Hi how to take report of sto withou delivery,i created po doc type ub for 6 qty .goods issue given 351 mvt type 1 qty balance 5qty avl,in me2m i tried select enter material scope of list alv,doc type ub,selection parameters wa351 execute report show
-
I like the Mozilla Firefox Start Page and I do find Google fairly useful (albeit that I have dumped Chrome for Firefox due to Google's constant badgering to sign-up to their social network "circles" etc) - but my gripe is that I am redirected to goog
-
The method 'commit' cant be called when a global transaction is active.
Hello, I've installed the SOAdemo a couple of times on local machines, and it works fine. Now I've deployed the SOADemo on a separate server and a strange error occurs in BPEL when testing the SOADemo. The SOAOrderBooking BPEL process runs into an er
-
Does the ipod touch 4th gen's screen have IPS like the iphone 4's?
So I heard somewhere that the ipod touch 4g's screen does NOT have IPS. For those who don't know what IPS is, this is apples description of it: "The iPhone 4 Retina display uses technology called IPS (in-plane switching) - the same technology used in
-
I am trying to send a numeric control input to a sub vi. going from other examples I have created a reference (digital) in the main vi. then i create a control refnum in the sub vi. but i cant figure out the proper way to connect this to a propert