"Attempted to read or write protected memory" error when changing SQL query in View Table in Visual Studio -


i don't it, why visual studio 2008 shows me such error:

attempted read or write protected memory. indication other memory corrupt. (microsoft visual studio)  ------------------------------ program location:     @ system.windows.forms.unsafenativemethods.intdestroywindow(handleref hwnd)    @ system.windows.forms.unsafenativemethods.destroywindow(handleref hwnd)    @ system.windows.forms.nativewindow.destroyhandle()    @ system.windows.forms.control.destroyhandle()    @ system.windows.forms.form.showdialog(iwin32window owner)    @ microsoft.datawarehouse.datawarehouseutilities.showdialog(form form, iserviceprovider serviceprovider, iwin32window owner)    @ microsoft.datawarehouse.datawarehouseutilities.showdialog(form form, iserviceprovider serviceprovider)    @ microsoft.analysisservices.controls.namedquerybuilderdialog.showdialog(datasourceview dsv, datatable datatable)    @ microsoft.analysisservices.design.datasourcedesigner.editnamedquery(boolean replacetable) 

what i'm doing , where?
have view table in data source views in cube in visual studio. want edit named query of view - change appearance of sql code, because vs formatted sql code in bad way (as me). have 10 lines of code (with few select subqueries) , want change last line this:

... (select id, desc, time tab1) on dz.id = am.id) pom) sub on sub.id = tab.id 

to this:

...     ...         ...         (select id, desc, time tab1) on dz.id = am.id     ) pom ) sub on sub.id = tab.id 

and when want save changes (by clicking ok button) above error. o.o

what's wrong? doing wrong?


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -