I am in the process of remove <g class="gr_ gr_185 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" data-gr-id="185" id="185">trasaction</g> replication and reconfigure back Initially I delete <g class="gr_ gr_403 gr-alert gr_gramm gr_inline_cards gr_run_anim Grammar only-ins replaceWithoutSep" data-gr-id="403" id="403">subscriber</g> from GUI and the Publisher. But I am accdently remove the
distribution DB as follows
use master
go
alter database distribution set offline;
drop database distribution;
I run the disable publisher and distribution option and end with the following error as distribution DB is not found
When I manually try to create distribution DB then get <g class="gr_ gr_685 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" data-gr-id="685" id="685">errror</g>.
Msg 5120, Level 16, State 101, Line 94
Unable to open the physical file "U:\Microsoft SQL Server\VER\MSSQL\Data\distribution.MDF". Operating system error 5: "5(Access is denied.)".
Not sure how to clear <g class="gr_ gr_755 gr-alert gr_gramm gr_inline_cards gr_run_anim Style multiReplace" data-gr-id="755" id="755">all .</g> <g class="gr_ gr_765 gr-alert gr_gramm gr_inline_cards gr_run_anim Punctuation only-ins replaceWithoutSep" data-gr-id="765" id="765">Still</g> I am not getting "configure distribution " as distribution has not deleted clearly.
Anyone can help would be greatly appreciated